Fix build on rust 1.73

This commit is contained in:
Igor Katson 2023-12-05 20:08:37 +00:00
parent 9481ffcb32
commit 215bccb89c
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
3 changed files with 3 additions and 3 deletions

View file

@ -452,7 +452,7 @@ impl ManagedTorrentBuilder {
self
}
pub fn spawner(&mut self, spawner: BlockingSpawner) -> &mut Self {
pub(crate) fn spawner(&mut self, spawner: BlockingSpawner) -> &mut Self {
self.spawner = Some(spawner);
self
}