about summary refs log tree commit diff
path: root/src/doc/complement-cheatsheet.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc/complement-cheatsheet.md')
-rw-r--r--src/doc/complement-cheatsheet.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/complement-cheatsheet.md b/src/doc/complement-cheatsheet.md
index 4f7583f0855..328998ba9fa 100644
--- a/src/doc/complement-cheatsheet.md
+++ b/src/doc/complement-cheatsheet.md
@@ -152,7 +152,7 @@ struct Foo {
 }
 
 struct FooClosure<'a> {
-    myfunc: 'a |int, uint| -> i32
+    myfunc: |int, uint|: 'a -> i32
 }
 
 fn a(a: int, b: uint) -> i32 {