Skip to content

Commit 19a5f35

Browse files
ryanoneillclaude
andcommitted
Fix clippy needless borrow in beautiful dashboard example
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fb72c98 commit 19a5f35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/beautiful_dashboard.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ impl App for DashboardApp {
281281
if state.focus.is_focused(&Panel::Navigation) {
282282
if let Some(idx) = state.menu.selected_index() {
283283
let name = state.menu.items()[idx].label().to_string();
284-
state.toasts.info(&format!("Navigated to {}", name));
284+
state.toasts.info(format!("Navigated to {}", name));
285285
}
286286
}
287287
}

0 commit comments

Comments
 (0)