mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Fix minor typo (#772)
This commit is contained in:
committed by
GitHub
parent
1aa1a0c0d5
commit
84f726edd6
@@ -130,7 +130,7 @@ pub trait Future {
|
||||
}
|
||||
```
|
||||
|
||||
The [associated type] `Output` specfies the type of the asynchronous value. For example, the `async_read_file` function in the diagram above would return a `Future` instance with `Output` set to `File`.
|
||||
The [associated type] `Output` specifies the type of the asynchronous value. For example, the `async_read_file` function in the diagram above would return a `Future` instance with `Output` set to `File`.
|
||||
|
||||
[associated type]: https://doc.rust-lang.org/book/ch19-03-advanced-traits.html#specifying-placeholder-types-in-trait-definitions-with-associated-types
|
||||
|
||||
|
||||
Reference in New Issue
Block a user