diff options
| author | Jokler <jokler.contact@gmail.com> | 2018-06-16 15:35:49 +0200 |
|---|---|---|
| committer | Jokler <jokler.contact@gmail.com> | 2018-06-16 15:35:49 +0200 |
| commit | 9baade2a5d9fec54fe4d88216fbdb91c154ad348 (patch) | |
| tree | e4bee7605f2c2738574ad7d7a671c8b843bf53b5 /src/plugins/tell/database.rs | |
| parent | 768fcc68af3cc57f52ac7117cbf325479836159a (diff) | |
| download | frippy-9baade2a5d9fec54fe4d88216fbdb91c154ad348.tar.gz frippy-9baade2a5d9fec54fe4d88216fbdb91c154ad348.zip | |
Fix clippy warnings
Diffstat (limited to 'src/plugins/tell/database.rs')
| -rw-r--r-- | src/plugins/tell/database.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/tell/database.rs b/src/plugins/tell/database.rs index 75789e4..cbcb93d 100644 --- a/src/plugins/tell/database.rs +++ b/src/plugins/tell/database.rs @@ -45,7 +45,7 @@ pub trait Database: Send + Sync { } // HashMap -impl Database for HashMap<String, Vec<TellMessage>> { +impl<S: ::std::hash::BuildHasher + Send + Sync> Database for HashMap<String, Vec<TellMessage>, S> { fn insert_tell(&mut self, tell: &NewTellMessage) -> Result<(), TellError> { let tell = TellMessage { id: 0, |
