mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 18:25:30 +00:00
aquatic_http: use new trait Ip for ip generic parameters
This commit is contained in:
parent
2386dd0e8b
commit
8ddccb20aa
3 changed files with 25 additions and 19 deletions
|
|
@ -12,7 +12,7 @@ pub fn clean_torrents(state: &State){
|
|||
}
|
||||
|
||||
|
||||
fn clean_torrent_map<I: Eq + ::std::hash::Hash>(
|
||||
fn clean_torrent_map<I: Ip>(
|
||||
torrent_map: &mut TorrentMap<I>,
|
||||
){
|
||||
let now = Instant::now();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue