impl for borrowed types
This commit is contained in:
parent
d1377270fb
commit
8bdacb4105
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ macro_rules! impl_os_from_str {
|
||||||
|
|
||||||
impl $crate::OsDisplay for &$type {
|
impl $crate::OsDisplay for &$type {
|
||||||
fn fmt_os(&self, f: &mut OsStringFormatter) -> std::fmt::Result {
|
fn fmt_os(&self, f: &mut OsStringFormatter) -> std::fmt::Result {
|
||||||
(**self).fmt_os(f)
|
(*self).fmt_os(f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue