Fix Clippy

This commit is contained in:
bakaq
2024-09-06 18:54:37 -03:00
parent d32f3ee2f3
commit 16734ec7e4
8 changed files with 37 additions and 39 deletions

View File

@@ -213,8 +213,7 @@ impl<'a> HeapPStrIter<'a> {
self.brent_st.hare = orig_hare;
}
#[allow(clippy::inherent_to_string)]
pub fn to_string(&mut self) -> String {
pub fn to_string_mut(&mut self) -> String {
let mut buf = String::with_capacity(32);
for iteratee in self.by_ref() {