]> git.lizzy.rs Git - rust.git/commitdiff
Satisfy tidy
authorJonathan Turner <jturner@mozilla.com>
Tue, 24 May 2016 14:57:44 +0000 (10:57 -0400)
committerJonathan Turner <jturner@mozilla.com>
Tue, 24 May 2016 14:57:44 +0000 (10:57 -0400)
src/test/compile-fail/issue-33819.rs
src/test/ui/mismatched_types/issue-26480.rs

index 418e66dbd4d3388a548dc4aa673a5bc1b342c62c..9c9677c1e98638d996bf7fc4ee3e9eda1538725e 100644 (file)
@@ -1,3 +1,12 @@
+// Copyright 2016 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.
 fn main() {
     let mut op = Some(2);
     match op {
index 516d92372e73ea5903d516d4a07f9d8e0eed19e2..96db31f4b116fb87bd823ca9b6eb9b1a3c80192e 100644 (file)
@@ -30,7 +30,7 @@ macro_rules! write {
 }
 
 macro_rules! cast {
-    ($x:expr) => ($x as ()) 
+    ($x:expr) => ($x as ())
 }
 
 fn main() {