]> git.lizzy.rs Git - rust.git/commitdiff
Add missing space in mutable_transmutes lint
authorChristopher Serr <cryze92@gmail.com>
Mon, 31 Oct 2016 18:41:22 +0000 (19:41 +0100)
committerGitHub <noreply@github.com>
Mon, 31 Oct 2016 18:41:22 +0000 (19:41 +0100)
src/librustc_lint/builtin.rs

index eee34324a6583a192dadd6b642640271642a1b66..a28109c1471914d9a7ade462ebb979f8a9315f01 100644 (file)
@@ -1189,7 +1189,7 @@ impl LateLintPass for MutableTransmutes {
     fn check_expr(&mut self, cx: &LateContext, expr: &hir::Expr) {
         use syntax::abi::Abi::RustIntrinsic;
 
-        let msg = "mutating transmuted &mut T from &T may cause undefined behavior,\
+        let msg = "mutating transmuted &mut T from &T may cause undefined behavior, \
                    consider instead using an UnsafeCell";
         match get_transmute_from_to(cx, expr) {
             Some((&ty::TyRef(_, from_mt), &ty::TyRef(_, to_mt))) => {