Skip to content

Commit

Permalink
Comments only: fix a comment in method resolution.
Browse files Browse the repository at this point in the history
  • Loading branch information
msullivan committed Aug 25, 2012
1 parent 01866fa commit cf62433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rustc/middle/typeck/check/method.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ struct lookup {
self.add_inherent_and_extension_candidates
(optional_inherent_methods, immutable_reference_mode);

// if we found anything, stop before attempting auto-deref.
// if we found anything, stop before attempting mutable auto-ref.
if self.candidates.len() > 0u { break; }

// Now look for inherent and extension methods, this time using a
Expand Down

0 comments on commit cf62433

Please sign in to comment.