Lint
This commit is contained in:
parent
6d56177ca8
commit
78fe3fd6fd
5 changed files with 7 additions and 7 deletions
|
|
@ -53,9 +53,7 @@ impl StringBuilder<'_> {
|
|||
|
||||
/// Returns the currently built buffer and clears it to allow consuming
|
||||
/// the result incrementally.
|
||||
pub fn take(&mut self) -> String {
|
||||
std::mem::take(&mut self.buffer)
|
||||
}
|
||||
pub fn take(&mut self) -> String { std::mem::take(&mut self.buffer) }
|
||||
|
||||
/// Get a slice of the remaining original string. The slice starts from
|
||||
/// where the next delete/retain operation would start and is of length
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue