Skip to content

Commit

Permalink
Fix clippy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fredizzimo committed Oct 16, 2023
1 parent 95de8f8 commit 6f1c208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neovide-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pub fn setting_group(item: TokenStream) -> TokenStream {
let input = parse_macro_input!(item as DeriveInput);
let prefix = setting_prefix(input.attrs.as_ref())
.map(|p| format!("{p}_"))
.unwrap_or_else(|| "".to_string());
.unwrap_or_default();
stream(input, prefix)
}

Expand Down

0 comments on commit 6f1c208

Please sign in to comment.