Skip to content

refactor: apply clippy suggestion

Codecov / codecov/patch failed Apr 7, 2024 in 1s

1.9% of diff hit (target 20.7%)

View this Pull Request on Codecov

1.9% of diff hit (target 20.7%)

Annotations

Check warning on line 148 in src/app.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app.rs#L148

Added line #L148 was not covered by tests

Check warning on line 170 in src/app.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app.rs#L170

Added line #L170 was not covered by tests

Check warning on line 203 in src/app.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app.rs#L203

Added line #L203 was not covered by tests

Check warning on line 208 in src/app.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app.rs#L207-L208

Added lines #L207 - L208 were not covered by tests

Check warning on line 220 in src/app.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app.rs#L219-L220

Added lines #L219 - L220 were not covered by tests

Check warning on line 246 in src/app.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app.rs#L223-L246

Added lines #L223 - L246 were not covered by tests

Check warning on line 256 in src/app.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app.rs#L256

Added line #L256 was not covered by tests

Check warning on line 261 in src/app.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app.rs#L261

Added line #L261 was not covered by tests

Check warning on line 266 in src/app.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app.rs#L266

Added line #L266 was not covered by tests

Check warning on line 56 in src/screen.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/screen.rs#L56

Added line #L56 was not covered by tests

Check warning on line 177 in src/screen.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/screen.rs#L177

Added line #L177 was not covered by tests

Check warning on line 208 in src/screen.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/screen.rs#L208

Added line #L208 was not covered by tests

Check warning on line 214 in src/screen.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/screen.rs#L214

Added line #L214 was not covered by tests

Check warning on line 218 in src/screen.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/screen.rs#L218

Added line #L218 was not covered by tests

Check warning on line 233 in src/screen.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/screen.rs#L231-L233

Added lines #L231 - L233 were not covered by tests

Check warning on line 237 in src/screen.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/screen.rs#L235-L237

Added lines #L235 - L237 were not covered by tests

Check warning on line 241 in src/screen.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/screen.rs#L239-L241

Added lines #L239 - L241 were not covered by tests

Check warning on line 269 in src/screen.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/screen.rs#L246-L269

Added lines #L246 - L269 were not covered by tests

Check warning on line 289 in src/screen.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/screen.rs#L271-L289

Added lines #L271 - L289 were not covered by tests

Check warning on line 291 in src/screen.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/screen.rs#L291

Added line #L291 was not covered by tests

Check warning on line 303 in src/screen.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/screen.rs#L295-L303

Added lines #L295 - L303 were not covered by tests

Check warning on line 305 in src/screen.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/screen.rs#L305

Added line #L305 was not covered by tests

Check warning on line 309 in src/screen.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/screen.rs#L309

Added line #L309 was not covered by tests

Check warning on line 317 in src/screen.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/screen.rs#L313-L317

Added lines #L313 - L317 were not covered by tests

Check warning on line 319 in src/screen.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/screen.rs#L319

Added line #L319 was not covered by tests