about summary refs log tree commit diff
path: root/src/libstd/run_program.rs
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-12-16 10:42:28 +0100
committerMarijn Haverbeke <marijnh@gmail.com>2011-12-16 11:46:57 +0100
commitcff6bdd03616b6f20028ec8568d03363ccc3f9f2 (patch)
treee24a03d847e02bea41bded20923757d64df93da0 /src/libstd/run_program.rs
parent4f826d81f611aa9486b25e1e123b24131659bd51 (diff)
downloadrust-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