mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-04 19:12:50 +00:00
mem_replace: fix grammar.
This commit is contained in:
parent
2f53aaa5bd
commit
79cda3bb1e
@ -54,7 +54,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for MemReplace {
|
||||
then {
|
||||
// Since this is a late pass (already type-checked),
|
||||
// and we already know that the second argument is an
|
||||
// `Option`, we do not need to check if the first
|
||||
// `Option`, we do not need to check the first
|
||||
// argument's type. All that's left is to get
|
||||
// replacee's path.
|
||||
let replaced_path = match func_args[0].node {
|
||||
|
Loading…
Reference in New Issue
Block a user