Unnamed repository; edit this file 'description' to name the repository.
reformat
Anton Sol 2024-02-01
parent 257ece4 · commit 2235939
-rw-r--r--lib/smol_str/src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/smol_str/src/lib.rs b/lib/smol_str/src/lib.rs
index b78a86b1bc..e403233694 100644
--- a/lib/smol_str/src/lib.rs
+++ b/lib/smol_str/src/lib.rs
@@ -32,7 +32,7 @@ use core::{
/// `WS`: A string of 32 newlines followed by 128 spaces.
pub struct SmolStr(Repr);
-impl Clone for SmolStr{
+impl Clone for SmolStr {
#[inline]
fn clone(&self) -> Self {
if !self.is_heap_allocated() {
@@ -43,7 +43,6 @@ impl Clone for SmolStr{
}
impl SmolStr {
-
#[deprecated = "Use `new_inline` instead"]
pub const fn new_inline_from_ascii(len: usize, bytes: &[u8]) -> SmolStr {
assert!(len <= INLINE_CAP);