Skip to content

Commit 0fb3a13

Browse files
AntonSol919Veykril
authored andcommitted
reformat
1 parent a063f40 commit 0fb3a13

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ use core::{
3232
/// `WS`: A string of 32 newlines followed by 128 spaces.
3333
pub struct SmolStr(Repr);
3434

35-
impl Clone for SmolStr{
35+
impl Clone for SmolStr {
3636
#[inline]
3737
fn clone(&self) -> Self {
3838
if !self.is_heap_allocated() {
@@ -43,7 +43,6 @@ impl Clone for SmolStr{
4343
}
4444

4545
impl SmolStr {
46-
4746
#[deprecated = "Use `new_inline` instead"]
4847
pub const fn new_inline_from_ascii(len: usize, bytes: &[u8]) -> SmolStr {
4948
assert!(len <= INLINE_CAP);

0 commit comments

Comments
 (0)