diff options
| author | nickelc <constantin.nickel@gmail.com> | 2023-02-28 12:37:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-28 06:37:20 -0500 |
| commit | 28bf556897fe8945a72e8a1c32ceb8636ee428bb (patch) | |
| tree | e65636fe18034fe65f278b4d872a07f036e51abb /src/tests/test_example_diffs.rs | |
| parent | ce6448f9c3e8e61d06127c62ee775f9372bc1c34 (diff) | |
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`
Diffstat (limited to 'src/tests/test_example_diffs.rs')
| -rw-r--r-- | src/tests/test_example_diffs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
