diff options
| author | Samuel E. Moelius III <sam@moeli.us> | 2021-09-30 07:38:03 -0400 |
|---|---|---|
| committer | Samuel E. Moelius III <sam@moeli.us> | 2021-10-15 12:44:49 -0400 |
| commit | 75e9f8cbd6d8c704ec89d12e3ddc382402a13119 (patch) | |
| tree | 76b4be8c2af6b8610e54a1faede604b7317e6622 /clippy_dev/src | |
| parent | 47014d81a1e1adbd5dcfbc4d6df5d116d1b36104 (diff) | |
Remove redundant `to_string`s
Diffstat (limited to 'clippy_dev/src')
| -rw-r--r-- | clippy_dev/src/update_lints.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_dev/src/update_lints.rs b/clippy_dev/src/update_lints.rs index 10d859988f6..23f58bc4915 100644 --- a/clippy_dev/src/update_lints.rs +++ b/clippy_dev/src/update_lints.rs @@ -619,8 +619,8 @@ mod tests { Lint::new("should_assert_eq2", "group2", "abc", None, "module_name"), ]; let expected = vec![ - format!("[`should_assert_eq`]: {}#should_assert_eq", DOCS_LINK.to_string()), - format!("[`should_assert_eq2`]: {}#should_assert_eq2", DOCS_LINK.to_string()), + format!("[`should_assert_eq`]: {}#should_assert_eq", DOCS_LINK), + format!("[`should_assert_eq2`]: {}#should_assert_eq2", DOCS_LINK), ]; assert_eq!(expected, gen_changelog_lint_list(lints.iter())); } |
