]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/min_max.rs
iterate List by value
[rust.git] / tests / ui / min_max.rs
index b4ca46231e02fb511f15e9e8bff9ed48539dcdb0..8307d4b3019f7cf077fc673c34bc7481da55c3ae 100644 (file)
@@ -1,23 +1,10 @@
-// Copyright 2014-2018 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution.
-//
-// 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.
-
-
-
-
-
 #![warn(clippy::all)]
 
-use std::cmp::{min, max};
-use std::cmp::min as my_min;
 use std::cmp::max as my_max;
+use std::cmp::min as my_min;
+use std::cmp::{max, min};
 
-const LARGE : usize = 3;
+const LARGE: usize = 3;
 
 fn main() {
     let x;