mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Fix trait name in example code (s/Fut/F/)
This commit is contained in:
@@ -191,7 +191,7 @@ struct StringLen<F> {
|
||||
inner_future: F,
|
||||
}
|
||||
|
||||
impl<F> Future for StringLen<F> where Fut: Future<Output = String> {
|
||||
impl<F> Future for StringLen<F> where F: Future<Output = String> {
|
||||
type Output = usize;
|
||||
|
||||
fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<T> {
|
||||
|
||||
Reference in New Issue
Block a user