From 28bf556897fe8945a72e8a1c32ceb8636ee428bb Mon Sep 17 00:00:00 2001 From: nickelc Date: Tue, 28 Feb 2023 12:37:20 +0100 Subject: Fix clippy warnings (#1298) * Fix clippy warnings - `clippy::uninlined_format_args` * Fix clippy warnings - `clippy::clone_on_copy` - `clippy::explicit_auto_deref` - `clippy::iter_cloned_collect` - `clippy::map_clone` - `clippy::needless_borrow` - `clippy::needless_lifetimes` - `clippy::needless_return` - `clippy::redundant_clone` - `clippy::redundant_field_names` - `clippy::seek_to_start_instead_of_rewind` - `clippy::unnecessary_cast` - `clippy::unused_unit` --- src/tests/test_example_diffs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/test_example_diffs.rs') diff --git a/src/tests/test_example_diffs.rs b/src/tests/test_example_diffs.rs index d3800a6..6e0983c 100644 --- a/src/tests/test_example_diffs.rs +++ b/src/tests/test_example_diffs.rs @@ -60,7 +60,7 @@ mod tests { // In addition to the background color, the code has language syntax highlighting. let config = integration_test_utils::make_config_from_args(&[]); let output = integration_test_utils::get_line_of_code_from_delta( - &ADDED_FILE_INPUT, + ADDED_FILE_INPUT, 14, "class X:", &config, -- cgit v1.2.3