Resolve redundant_field_names clippy lint

This commit is contained in:
David Tolnay
2020-12-31 01:16:27 -08:00
parent 08ef5613ac
commit ee03e0b34a
+1 -1
View File
@@ -40,7 +40,7 @@ impl Buffer {
#[cfg(not(maybe_uninit))]
let bytes = unsafe { mem::uninitialized() };
Buffer { bytes: bytes }
Buffer { bytes }
}
/// Print a floating point number into this buffer and return a reference to