Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit f3c6909

Browse files
committed
Fix clippy issues
1 parent b02223d commit f3c6909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/string.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ impl<A: DeallocRef> String<A> {
731731
}
732732
(valid, broken)
733733
} else {
734-
return Ok(Self::new_in(&a));
734+
return Ok(Self::new_in(a));
735735
};
736736

737737
let mut res = Self::try_with_capacity_in(v.len(), a)?;

0 commit comments

Comments
 (0)