Skip to content

Commit

Permalink
remove unnecessary type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin committed Mar 1, 2021
1 parent f55c301 commit 6a53d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/proto/src/rr/domain/name.rs
Expand Up @@ -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<Name> {
let mut labels: SmallVec<[Label; 4]> = SmallVec::new();
let mut labels = SmallVec::new();
read_inner(decoder, &mut labels, None)?;
Ok(Name {
is_fqdn: true,
Expand Down

0 comments on commit 6a53d0b

Please sign in to comment.