Skip to content

Commit 21fb249

Browse files
committed
fix(ui): make option_mark const for clippy
Satisfies clippy::missing_const_for_fn under nursery.
1 parent 34d0bdb commit 21fb249

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/popups/log_search.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ impl LogSearchPopupPopup {
165165
}
166166
}
167167

168-
fn option_mark(on: bool) -> &'static str {
168+
const fn option_mark(on: bool) -> &'static str {
169169
if on {
170170
"X"
171171
} else {

0 commit comments

Comments
 (0)