]> git.lizzy.rs Git - rust.git/blobdiff - src/etc/test-float-parse/huge-pow10.rs
Auto merge of #67303 - dtolnay:rls, r=Xanewok
[rust.git] / src / etc / test-float-parse / huge-pow10.rs
index e62afc7851564faced3372516437c5d8d528a40a..9a16d9c60280dca68f67952c1c0316015f0cb7ca 100644 (file)
@@ -1,13 +1,3 @@
-// Copyright 2015 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.
-
 mod _common;
 
 use _common::validate;
@@ -15,7 +5,7 @@
 fn main() {
     for e in 300..310 {
         for i in 0..100000 {
-            validate(format!("{}e{}", i, e));
+            validate(&format!("{}e{}", i, e));
         }
     }
 }