1.25.0

1.25.0 #

  • Released on: 29 March, 2018
  • Branched from master on: 9 February, 2018

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 #