mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 03:51:14 -03:00
printf: implement Printf for &WString
This commit is contained in:
committed by
Johannes Altmanninger
parent
333056a9ec
commit
71c2f08e5d
@@ -508,3 +508,9 @@ fn format(&self, spec: &ConversionSpecifier) -> Result<WString> {
|
||||
self.as_utfstr().format(spec)
|
||||
}
|
||||
}
|
||||
|
||||
impl Printf for &WString {
|
||||
fn format(&self, spec: &ConversionSpecifier) -> Result<WString> {
|
||||
self.as_utfstr().format(spec)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user