Linting
This commit is contained in:
parent
c25c6edc6a
commit
588db169f8
8 changed files with 15 additions and 55 deletions
|
|
@ -7,7 +7,6 @@ use std::hash::Hash;
|
|||
use std::io::SeekFrom;
|
||||
|
||||
use crate::binary_coding::{decode, encode};
|
||||
use bincode;
|
||||
use bincode::{Decode, Encode};
|
||||
|
||||
use crate::error::{DecodeErrorKind, Error};
|
||||
|
|
@ -63,7 +62,7 @@ where
|
|||
Ok(())
|
||||
}
|
||||
|
||||
pub fn insert_desynced(&mut self, k: K, v: V) -> () {
|
||||
pub fn insert_desynced(&mut self, k: K, v: V) {
|
||||
self.data.entry(k).or_insert_with(HashSet::new).insert(v);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue