]> git.lizzy.rs Git - rust.git/blobdiff - src/test/pretty/do1.rs
Rollup merge of #73963 - hellow554:unsafe_path, r=Mark-Simulacrum
[rust.git] / src / test / pretty / do1.rs
index c9501e8166f14bf0f413cbec52129b89d8fdf435..233ccdb0098b36d7a98c0308a42db7d5c6371423 100644 (file)
@@ -1,15 +1,5 @@
-// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
 // pp-exact
 
 fn f<F>(f: F) where F: Fn(isize) { f(10) }
 
-fn main() { f(|i| { assert_eq!(i , 10) }) }
+fn main() { f(|i| { assert_eq!(i, 10) }) }