Sha256: 1d111f33570ad58fbe9ae815f2645aa090799468bbb8193e5827ce728cb1602e

Contents?: true

Size: 278 Bytes

Versions: 122

Compression:

Stored size: 278 Bytes

Contents

use core::*;

fn main() {
    for ["Alice", "Bob", "Carol"].each |&name| {
        do task::spawn {
            let v = rand::Rng().shuffle([1, 2, 3]);
            for v.each |&num| {
                io::print(fmt!("%s says: '%d'\n", name, num))
            }
        }
    }
}

Version data entries

122 entries across 120 versions & 9 rubygems

Version Path
tdiary-5.0.5 vendor/bundle/gems/rouge-2.0.7/lib/rouge/demos/rust
tdiary-5.0.5 vendor/bundle/gems/rouge-2.1.1/lib/rouge/demos/rust
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/rouge-2.0.7/lib/rouge/demos/rust
rouge-2.1.1 lib/rouge/demos/rust
rouge-2.1.0 lib/rouge/demos/rust
tdiary-5.0.4 vendor/bundle/gems/rouge-2.0.7/lib/rouge/demos/rust
rouge-2.0.7 lib/rouge/demos/rust
rouge-2.0.6 lib/rouge/demos/rust
rouge-2.0.5 lib/rouge/demos/rust
rouge-2.0.3 lib/rouge/demos/rust
rouge-2.0.2 lib/rouge/demos/rust
rouge-2.0.1 lib/rouge/demos/rust
rouge-2.0.0 lib/rouge/demos/rust
rouge-1.11.1 lib/rouge/demos/rust
rouge-1.11.0 lib/rouge/demos/rust
rouge-1.10.1 lib/rouge/demos/rust
rouge-1.10.0 lib/rouge/demos/rust
gitlab-rouge-1.9.2 lib/rouge/demos/rust
rouge-1.9.1 lib/rouge/demos/rust
rouge-1.9.0 lib/rouge/demos/rust