mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 09:05:33 +00:00
skip unsortable placeholder
This commit is contained in:
parent
851cac6bdd
commit
ac88344098
1 changed files with 1 additions and 1 deletions
|
|
@ -387,7 +387,7 @@ fn list(info: &TorrentMetaV1Info<ByteBufOwned>, limit: usize) -> Option<Vec<(Str
|
|||
b.push(("...".to_string(), l));
|
||||
break;
|
||||
}
|
||||
b.sort_by(|a, b| a.0.cmp(&b.0)); // @TODO optional
|
||||
b[..t].sort_by(|a, b| a.0.cmp(&b.0)); // @TODO optional
|
||||
b
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue