Use Self in Default implementation of Task
This commit is contained in:
parent
1a575550bf
commit
55a13f7232
1 changed files with 1 additions and 1 deletions
|
|
@ -385,7 +385,7 @@ impl<T, E> Task<Result<T, E>> {
|
||||||
|
|
||||||
impl<T> Default for Task<T> {
|
impl<T> Default for Task<T> {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Task::none()
|
Self::none()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue