Solve 50+ cargo doc warnings (#24071)

Release Notes:

- N/A
This commit is contained in:
João Marcos
2025-02-01 06:19:29 +00:00
committed by GitHub
parent 39d45bcbc1
commit 5bd7eaa173
35 changed files with 99 additions and 89 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ impl SharedString {
Self(ArcCow::Borrowed(str))
}
/// Creates a [`SharedString`] from anything that can become an Arc<str>
/// Creates a [`SharedString`] from anything that can become an `Arc<str>`
pub fn new(str: impl Into<Arc<str>>) -> Self {
SharedString(ArcCow::Owned(str.into()))
}