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
rouge-4.5.1 lib/rouge/demos/rust
rouge-4.5.0 lib/rouge/demos/rust
rouge-4.4.0 lib/rouge/demos/rust
rouge-4.3.0 lib/rouge/demos/rust
rouge-4.2.1 lib/rouge/demos/rust
rouge-4.2.0 lib/rouge/demos/rust
rouge-4.1.3 lib/rouge/demos/rust
rouge-4.1.2 lib/rouge/demos/rust
rouge-4.1.1 lib/rouge/demos/rust
mumukit-content-type-1.12.1 vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/rust
mumukit-content-type-1.12.0 vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/rust
rouge-4.1.0 lib/rouge/demos/rust
rouge-4.0.1 lib/rouge/demos/rust
rouge-4.0.0 lib/rouge/demos/rust
rouge-3.30.0 lib/rouge/demos/rust
rouge-3.29.0 lib/rouge/demos/rust
rouge-3.28.0 lib/rouge/demos/rust
rouge-3.27.0 lib/rouge/demos/rust
rouge-3.26.1 lib/rouge/demos/rust
mumukit-content-type-1.11.1 vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/rust