add ptr_offset_by_literal clippy lint and set to deny

This commit is contained in:
auronandace
2026-07-06 12:40:43 +01:00
parent 9930a90de0
commit bf6dc24407
15 changed files with 51 additions and 50 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ impl Read for UnsafeStringReader {
}
*inner = *self.0;
self.0 = self.0.offset(1);
self.0 = self.0.add(1);
}
Ok(buf.len())
}