mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
replace the closure with the function itself
This commit is contained in:
parent
7db362aadc
commit
2db7d77f43
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ impl Client {
|
|||
Some(ref cancellable) => Some(cancellable.clone()),
|
||||
None => None::<Cancellable>,
|
||||
},
|
||||
move |result| callback(result),
|
||||
callback,
|
||||
)
|
||||
}
|
||||
Err(reason) => callback(Err(Error::Connection(reason))),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue