add ptr_offset_by_literal clippy lint and set to deny
This commit is contained in:
+1
-1
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user