Fix location of error message explanation

This commit is contained in:
1000teslas
2021-01-03 03:53:50 +11:00
parent 5ccef56456
commit 12f1795743
3 changed files with 17 additions and 15 deletions

View File

@@ -16,7 +16,7 @@ fn game_loop(v: Arc<Vec<usize>>) {}
fn spawn<F>(future: F) -> JoinHandle
where
F: Future + Send + 'static,
F::Output: Send + 'static,
F::Output: Send + 'static,
{
loop {}
}
@@ -26,8 +26,8 @@ struct JoinHandle;
impl Future for JoinHandle {
type Output = ();
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
loop {}
loop {}
}
}
fn main() {}
fn main() {}