fix: clippy warning

This commit is contained in:
Cyrix126 2024-06-07 11:40:54 +02:00
parent 160d0314d9
commit edcf87b0b1

View file

@ -175,7 +175,7 @@ impl Xmrig {
ui.horizontal(|ui| {
ui.add_sized(
[text_width, text_edit],
Label::new(format!("Pause on active [0-255]:")),
Label::new("Pause on active [0-255]:".to_string()),
);
ui.add_sized([width, text_edit], Slider::new(&mut self.pause, 0..=255))
.on_hover_text(format!("{} [{}] seconds.", XMRIG_PAUSE, self.pause));