Using a single value from the Standard library



examples/libraries/std-pi-use/src/main.rs
use std::f32::consts::PI;
// use std::f64::consts::PI; // error[E0252]: the name `PI` is defined multiple times

fn main() {
    println!("{}", PI);
}

3.1415927