Skip to content

Rust 1.25.0

Compare
Choose a tag to compare
@rustbot rustbot released this 10 Sep 05:53
· 199374 commits to master since this release

Language

enum Foo { A, B, C }

fn main() {
    let x = Foo::A;
    match x {
        | Foo::A
        | Foo::B => println!("AB"),
        | Foo::C => println!("C"),
    }
}

Compiler

Libraries

Stabilized APIs

The following functions can now be used in a constant expression. eg. static MINUTE: Duration = Duration::from_secs(60);

Cargo

Misc

Compatibility Notes