Skip to content

Commit ca3d6dd

Browse files
authored
Merge pull request #2312 from zmt00/master
Fix typos in README, documentation
2 parents 1ecce2d + a7f423b commit ca3d6dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ typechecking (and lints) have completed, which can significantly reduce the runt
7474
Alternatively, to only run clippy when testing:
7575

7676
```toml
77-
[dev-dependencies]`
77+
[dev-dependencies]
7878
clippy = { version = "*" }
7979
```
8080

clippy_lints/src/needless_borrowed_ref.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ use utils::{in_macro, snippet, span_lint_and_then};
3838
/// let mut v = Vec::<String>::new();
3939
/// let _ = v.iter_mut().filter(|&ref a| a.is_empty());
4040
/// ```
41-
/// This clojure takes a reference on something that has been matched as a
41+
/// This closure takes a reference on something that has been matched as a
4242
/// reference and
4343
/// de-referenced.
4444
/// As such, it could just be |a| a.is_empty()

0 commit comments

Comments
 (0)