diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-12-16 10:42:28 +0100 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-12-16 11:46:57 +0100 |
| commit | cff6bdd03616b6f20028ec8568d03363ccc3f9f2 (patch) | |
| tree | e24a03d847e02bea41bded20923757d64df93da0 /src/libstd/run_program.rs | |
| parent | 4f826d81f611aa9486b25e1e123b24131659bd51 (diff) | |
| download | rust-cff6bdd03616b6f20028ec8568d03363ccc3f9f2.tar.gz rust-cff6bdd03616b6f20028ec8568d03363ccc3f9f2.zip | |
Change syntax for impl
Move the name of the bundle to the front, allow type parameters (not
handled yet), and add a 'for' keyword:
impl utils for int {
fn str() -> str { int::str(self) }
fn times(f: block()) { ... }
}
Diffstat (limited to 'src/libstd/run_program.rs')
0 files changed, 0 insertions, 0 deletions
