diff options
| author | r0cky <mu001999@outlook.com> | 2024-05-30 09:51:27 +0800 |
|---|---|---|
| committer | r0cky <mu001999@outlook.com> | 2024-05-30 09:51:27 +0800 |
| commit | dabd05bbab9df465a580858c3e03dc1797b12deb (patch) | |
| tree | ef0660c4849e779a0454cedfacb6f90f26c26fc7 /compiler/rustc_serialize | |
| parent | f2e1a3a80ae54734e1a3d306f31c2caebb05de9b (diff) | |
| download | rust-dabd05bbab9df465a580858c3e03dc1797b12deb.tar.gz rust-dabd05bbab9df465a580858c3e03dc1797b12deb.zip | |
Apply x clippy --fix and x fmt
Diffstat (limited to 'compiler/rustc_serialize')
| -rw-r--r-- | compiler/rustc_serialize/src/serialize.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_serialize/src/serialize.rs b/compiler/rustc_serialize/src/serialize.rs index 412f7eced43..c84bb26735c 100644 --- a/compiler/rustc_serialize/src/serialize.rs +++ b/compiler/rustc_serialize/src/serialize.rs @@ -252,7 +252,7 @@ impl<S: Encoder> Encodable<S> for () { } impl<D: Decoder> Decodable<D> for () { - fn decode(_: &mut D) -> () {} + fn decode(_: &mut D) {} } impl<S: Encoder, T> Encodable<S> for PhantomData<T> { |
