]> git.lizzy.rs Git - rust.git/blobdiff - src/visitor.rs
typo
[rust.git] / src / visitor.rs
index b4fe95c9dd3316533f8b99ff295aa236788c56ea..1ca958f27b28211e8029e399468ce0c20e3966b2 100644 (file)
@@ -85,7 +85,7 @@ fn visit_block(&mut self, b: &'v ast::Block) {
         self.last_pos = b.span.hi;
     }
 
-    // Note that this only gets called for function defintions. Required methods
+    // Note that this only gets called for function definitions. Required methods
     // on traits do not get handled here.
     fn visit_fn(&mut self,
                 fk: visit::FnKind<'v>,