Skip to content

Instantly share code, notes, and snippets.

@dpetersen
Created February 23, 2015 00:43
Show Gist options
  • Save dpetersen/7865763561082b1e122f to your computer and use it in GitHub Desktop.
Save dpetersen/7865763561082b1e122f to your computer and use it in GitHub Desktop.
warnings
#![feature(core)]
// This triggers:
// add #![feature(core)] to the crate attributes to silence this warning
// warning: use of unstable library feature 'core': naming scheme needs to be revisited
use std::f64::consts::PI;
fn main() {
println!("Hello, world! {}", PI);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment