about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAustin Hicks <camlorn@camlorn.net>2016-11-23 16:31:21 -0500
committerAustin Hicks <camlorn@camlorn.net>2016-12-14 12:28:24 -0500
commit052e59cc128993abfc5e1c8ce9148bef97df572c (patch)
treec4f2af64e17f88a152c5c210ece363e6c82603cb /src
parentc8c3579bffaeb29b1feae286e06d792293e10287 (diff)
downloadrust-052e59cc128993abfc5e1c8ce9148bef97df572c.tar.gz
rust-052e59cc128993abfc5e1c8ce9148bef97df572c.zip
Make tidy
Diffstat (limited to 'src')
-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);