diff --git a/Cargo.lock b/Cargo.lock index 5f168aa..297cf7a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -88,7 +88,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "sinter" -version = "0.0.0" +version = "0.1.0" dependencies = [ "hashbrown", "parking_lot", diff --git a/Cargo.toml b/Cargo.toml index 7f20b31..c8afa62 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "sinter" -version = "0.0.0" +version = "0.1.0" edition = "2021" authors = ["ickk "] license = "MIT OR Apache-2.0 OR Zlib" readme = "README.md" include = ["src/", "LICENSE-APACHE", "LICENSE-MIT", "LICENSE-ZLIB"] -description = "Global thread-safe string interner " +description = "Global thread-safe string interner" documentation = "https://docs.rs/sinter" repository = "https://github.com/ickk/sinter/" keywords = ["interner", "string"] diff --git a/src/istr.rs b/src/istr.rs index 4007ee6..d3c1ccd 100644 --- a/src/istr.rs +++ b/src/istr.rs @@ -128,7 +128,7 @@ impl AsRef for IStr { impl Borrow for IStr { #[inline] fn borrow(&self) -> &'static str { - &self.0 + self.0 } }