mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
core: make_a_sandwitch -> make_a_sandwich
This commit is contained in:
parent
481267299d
commit
6413421c8c
@ -6,7 +6,7 @@ operations for working with them.
|
||||
|
||||
~~~
|
||||
let delayed_fib = future::spawn {|| fib(5000) };
|
||||
make_a_sandwitch();
|
||||
make_a_sandwich();
|
||||
io::println(#fmt(\"fib(5000) = %?\", delayed_fib.get()))
|
||||
~~~
|
||||
"];
|
||||
@ -171,4 +171,4 @@ fn test_spawn() {
|
||||
fn test_futurefail() {
|
||||
let f = spawn {|| fail };
|
||||
let _x: str = get(f);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user