impl for borrowed types

This commit is contained in:
Rowan 2025-07-09 13:42:11 -04:00
parent d1377270fb
commit 8bdacb4105

View file

@ -10,7 +10,7 @@ macro_rules! impl_os_from_str {
impl $crate::OsDisplay for &$type {
fn fmt_os(&self, f: &mut OsStringFormatter) -> std::fmt::Result {
(**self).fmt_os(f)
(*self).fmt_os(f)
}
}