mirror of
https://github.com/openharmony/third_party_rust_ryu.git
synced 2026-07-18 17:14:35 -04:00
Resolve redundant_field_names clippy lint
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user