Skip to content

Commit cb9786e

Browse files
authored
Merge pull request #1065 from mathstuf/doc-typos
typo: use commas around "e.g."
2 parents b5b6945 + d35b943 commit cb9786e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/methods.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ declare_lint! {
7373
/// |`is_` |`&self` or none |
7474
/// |`to_` |`&self` |
7575
///
76-
/// **Why is this bad?** Consistency breeds readability. If you follow the conventions, your users won't be surprised that they e.g. need to supply a mutable reference to a `as_..` function.
76+
/// **Why is this bad?** Consistency breeds readability. If you follow the conventions, your users won't be surprised that they, e.g., need to supply a mutable reference to a `as_..` function.
7777
///
7878
/// **Known problems:** None
7979
///

0 commit comments

Comments
 (0)