doc: Fix typo

This commit is contained in:
Taras Shpot 2012-01-21 16:21:18 +02:00
parent 4d757b9e9f
commit 1bbd97c11f
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);