Merge pull request #1594 from mrshpot/master

doc: Fix minor typo in tutorial
This commit is contained in:
Brian Anderson 2012-01-21 13:25:35 -08:00
commit 32742d0411
1 changed files with 1 additions and 1 deletions

View File

@ -898,7 +898,7 @@ that callers have the flexibility to pass whatever they want.
~~~~
## xfail-test
fn call_twice(f: fn()) { f(); f(); }
call_twice({|| "I am a stack closure; });
call_twice({|| "I am a stack closure"; });
call_twice(fn@() { "I am a boxed closure"; });
fn bare_function() { "I am a plain function"; }
call_twice(bare_function);