Skip to content

Commit 0ec9349

Browse files
committed
clippy
1 parent 2db8ef7 commit 0ec9349

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/drill/view.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ async fn action_handler(state: ServerState, action: Action) -> Fallible<()> {
238238
let diff_percent = ((parameters.difficulty - 1.0) / (9.0)) * 100.0;
239239
log::debug!(
240240
"{} {} S={:.2}d D={}% due={}",
241-
hash.to_hex()[..8].to_string(),
241+
&hash.to_hex()[..8],
242242
grade.as_str(),
243243
parameters.stability,
244244
diff_percent,

0 commit comments

Comments
 (0)