mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
remove extra construction
This commit is contained in:
parent
9e3176ca00
commit
8618b31570
1 changed files with 2 additions and 8 deletions
|
|
@ -125,14 +125,8 @@ impl Client {
|
|||
request_async(
|
||||
connection,
|
||||
uri.to_string(),
|
||||
match priority {
|
||||
Some(priority) => Some(priority),
|
||||
None => Some(Priority::DEFAULT),
|
||||
},
|
||||
match cancellable {
|
||||
Some(ref cancellable) => Some(cancellable.clone()),
|
||||
None => None::<Cancellable>,
|
||||
},
|
||||
priority,
|
||||
cancellable,
|
||||
callback, // result
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue