Commit b76eff6
committed
fix: clippy error
```output
error: unnecessary `Debug` formatting in `format!` args
--> src/console/ci/e2e/runner.rs:140:98
|
140 | let config = std::fs::read_to_string(path).with_context(|| format!("CSan't read config file {path:?}"))?;
| ^^^^
|
= help: use `Display` formatting and change this to `path.display()`
= note: switching to `Display` formatting will change how the value is shown; escaped characters will no longer be escaped and surrounding quotes will be removed
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_debug_formatting
= note: `-D clippy::unnecessary-debug-formatting` implied by `-D clippy::pedantic`
= help: to override `-D clippy::pedantic` add `#[allow(clippy::unnecessary_debug_formatting)]`
error: could not compile `torrust-tracker` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `torrust-tracker` (lib test) due to 1 previous error
```1 parent a8224e8 commit b76eff6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
0 commit comments