Skip to content

Commit

Permalink
tutorial: Add more buffalo.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwise authored and graydon committed Jul 11, 2012
1 parent f39477d commit 20f7c7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/tutorial.md
Expand Up @@ -2320,11 +2320,11 @@ and one for values. This means that this code is valid:
~~~~
mod buffalo {
type buffalo = int;
fn buffalo(buffalo: buffalo) -> buffalo { buffalo }
fn buffalo<buffalo: copy>(buffalo: buffalo) -> buffalo { buffalo }
}
fn main() {
let buffalo: buffalo::buffalo = 1;
buffalo::buffalo(buffalo::buffalo(buffalo));
buffalo::buffalo::<buffalo::buffalo>(buffalo::buffalo(buffalo));
}
~~~~

Expand Down

0 comments on commit 20f7c7c

Please sign in to comment.