mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
fix: Fix compile error caused by default_value_os_t
This commit is contained in:
parent
20358ff295
commit
b1be436eda
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue