github rust-lang/rust 1.25.0
Rust 1.25.0

latest releases: 1.78.0, 1.77.2, 1.77.1...
3 years ago

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

Don't miss a new rust release

NewReleases is sending notifications on new releases.