From 11aaca3d779e9d7aa6f3748aae71186e6a9fa410 Mon Sep 17 00:00:00 2001 From: Ben Kimock Date: Mon, 1 Mar 2021 12:21:27 -0500 Subject: [PATCH] remove unnecessary type annotation --- crates/proto/src/rr/domain/name.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/proto/src/rr/domain/name.rs b/crates/proto/src/rr/domain/name.rs index 343dc6351f..280da4f29f 100644 --- a/crates/proto/src/rr/domain/name.rs +++ b/crates/proto/src/rr/domain/name.rs @@ -1043,7 +1043,7 @@ impl<'r> BinDecodable<'r> for Name { /// all names will be stored lowercase internally. /// This will consume the portions of the `Vec` which it is reading... fn read(decoder: &mut BinDecoder<'r>) -> ProtoResult { - let mut labels: SmallVec<[Label; 4]> = SmallVec::new(); + let mut labels = SmallVec::new(); read_inner(decoder, &mut labels, None)?; Ok(Name { is_fqdn: true,