Skip to content

Commit 2999946

Browse files
committed
style: inline format args
1 parent 4509b98 commit 2999946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/windows.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ pub(crate) fn show_notification(notification: &Notification) -> Result<()> {
3636

3737
toast
3838
.show()
39-
.map_err(|e| Error::from(ErrorKind::Msg(format!("{:?}", e))))
39+
.map_err(|error| Error::from(ErrorKind::Msg(format!("{error:?}"))))
4040
}

0 commit comments

Comments
 (0)