Skip to content

Commit

Permalink
fix: Fix compile error caused by default_value_os_t
Browse files Browse the repository at this point in the history
  • Loading branch information
omjadas committed Jun 15, 2022
1 parent 20358ff commit b1be436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clap_derive/src/attrs.rs
Expand Up @@ -594,7 +594,7 @@ impl Attrs {
quote_spanned!(ident.span()=> {
static DEFAULT_VALUE: clap::once_cell::sync::Lazy<::std::ffi::OsString> = clap::once_cell::sync::Lazy::new(|| {
let val: #ty = #val;
::std::ffi::OsString = val.into()
::std::ffi::OsString::from(val)
});
&*DEFAULT_VALUE
})
Expand Down

0 comments on commit b1be436

Please sign in to comment.