]> git.lizzy.rs Git - rust.git/commitdiff
Add space after equals
authorJonathan Turner <jonathandturner@users.noreply.github.com>
Sun, 15 May 2016 18:57:50 +0000 (11:57 -0700)
committerJonathan Turner <jonathandturner@users.noreply.github.com>
Sun, 15 May 2016 18:57:50 +0000 (11:57 -0700)
src/librustc_borrowck/borrowck/check_loans.rs

index 997a254cf39db3651095b87e66497183f76c6c89..fcfab96b9dfe8154061edb77e7cda8af577bf194 100644 (file)
@@ -475,7 +475,7 @@ pub fn report_error_if_loan_conflicts_with_restriction(&self,
 
             let mut err = match (new_loan.kind, old_loan.kind) {
                 (ty::MutBorrow, ty::MutBorrow) => {
-                    let mut err =struct_span_err!(self.bccx, new_loan.span, E0499,
+                    let mut err = struct_span_err!(self.bccx, new_loan.span, E0499,
                                                   "cannot borrow `{}`{} as mutable \
                                                   more than once at a time",
                                                   nl, new_loan_msg);