about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustc/ty/layout.rs2
-rw-r--r--src/test/run-pass/multiple-reprs.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/ty/layout.rs b/src/librustc/ty/layout.rs
index f580730064c..342542edcf0 100644
--- a/src/librustc/ty/layout.rs
+++ b/src/librustc/ty/layout.rs
@@ -578,7 +578,7 @@ impl<'a, 'gcx, 'tcx> Struct {
                     attr::ReprInt(_) => false,
                     attr::ReprExtern => true,
                     attr::ReprPacked => true,
-                    attr::ReprSimd => bug!("Simd  vectors should be represented as a layout::Vector")
+                    attr::ReprSimd => bug!("Simd  vectors should be represented as layout::Vector")
                 }
             });
         }
diff --git a/src/test/run-pass/multiple-reprs.rs b/src/test/run-pass/multiple-reprs.rs
index 7c6740d4fde..726563e5b49 100644
--- a/src/test/run-pass/multiple-reprs.rs
+++ b/src/test/run-pass/multiple-reprs.rs
@@ -35,8 +35,8 @@ pub struct p0f_api_query {
     pub magic: u32,
     pub addr_type: u8,
     pub addr: [u8; 16],
-    
 }
+
 pub fn main() {
     assert_eq!(size_of::<E1>(), 6);
     assert_eq!(size_of::<E2>(), 6);