]> git.lizzy.rs Git - rust.git/commitdiff
Remove leading underscores in function signatures in a trait definition.
authorCameron Zwarich <zwarich@mozilla.com>
Mon, 19 May 2014 05:53:01 +0000 (22:53 -0700)
committerCameron Zwarich <zwarich@mozilla.com>
Mon, 19 May 2014 05:53:01 +0000 (22:53 -0700)
src/librustc/middle/expr_use_visitor.rs

index 36daa776036429a0662b20584b4999995adc9154..f3977340064695482f2e7c194bcb9c63f00976b2 100644 (file)
@@ -57,8 +57,8 @@ fn borrow(&mut self,
 
     // The local variable `id` is declared but not initialized.
     fn decl_without_init(&mut self,
-                         _id: ast::NodeId,
-                         _span: Span);
+                         id: ast::NodeId,
+                         span: Span);
 
     // The path at `cmt` is being assigned to.
     fn mutate(&mut self,