From ee03e0b34acdb6276f6fc44e786be6285da1d481 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 31 Dec 2020 01:16:27 -0800 Subject: [PATCH] Resolve redundant_field_names clippy lint --- src/buffer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buffer/mod.rs b/src/buffer/mod.rs index 0623575..0fb4ab5 100644 --- a/src/buffer/mod.rs +++ b/src/buffer/mod.rs @@ -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