mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-08 06:05:17 +00:00
silenced clippy warning (#6565)
This commit is contained in:
@@ -88,6 +88,7 @@ impl flatbuffers::EndianScalar for OptionalByte {
|
||||
Self(b)
|
||||
}
|
||||
#[inline]
|
||||
#[allow(clippy::wrong_self_convention)]
|
||||
fn from_little_endian(self) -> Self {
|
||||
let b = i8::from_le(self.0);
|
||||
Self(b)
|
||||
|
||||
Reference in New Issue
Block a user