]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/bit_masks.rs
iterate List by value
[rust.git] / tests / ui / bit_masks.rs
index db5a6885c9e630234b45cff6d40a6640edd5db9f..cfb493fb52afb4d1ad23b5b6d2a1cc1688ecb26f 100644 (file)
@@ -1,21 +1,13 @@
-// 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.
-
-
-
-
-
-const THREE_BITS : i64 = 7;
-const EVEN_MORE_REDIRECTION : i64 = THREE_BITS;
+const THREE_BITS: i64 = 7;
+const EVEN_MORE_REDIRECTION: i64 = THREE_BITS;
 
 #[warn(clippy::bad_bit_mask)]
-#[allow(clippy::ineffective_bit_mask, clippy::identity_op, clippy::no_effect, clippy::unnecessary_operation)]
+#[allow(
+    clippy::ineffective_bit_mask,
+    clippy::identity_op,
+    clippy::no_effect,
+    clippy::unnecessary_operation
+)]
 fn main() {
     let x = 5;