File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ declare_clippy_lint! {
1616 ///
1717 /// ```rust
1818 /// // example code where clippy issues a warning
19- /// let _ = "str".to_string()
19+ /// let _ = "str".to_string();
2020 /// ```
2121 /// Use instead:
2222 /// ```rust
2323 /// // example code which does not raise clippy warning
24- /// let _ = "str".to_owned()
24+ /// let _ = "str".to_owned();
2525 /// ```
2626 pub STR_TO_STRING ,
2727 restriction,
Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ declare_clippy_lint! {
1616 /// ```rust
1717 /// // example code where clippy issues a warning
1818 /// let msg = String::from("Hello World");
19- /// let _ = msg.to_string()
19+ /// let _ = msg.to_string();
2020 /// ```
2121 /// Use instead:
2222 /// ```rust
2323 /// // example code which does not raise clippy warning
2424 /// let msg = String::from("Hello World");
25- /// let _ = msg.clone()
25+ /// let _ = msg.clone();
2626 /// ```
2727 pub STRING_TO_STRING ,
2828 restriction,
You can’t perform that action at this time.
0 commit comments