mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 19:03:38 +08:00
Remove some unnecessary L!
This commit is contained in:
parent
0d6c6b2c8a
commit
e110d4c672
|
@ -654,9 +654,7 @@ pub fn print(streams: &mut IoStreams, type_filter: &wstr) {
|
|||
}
|
||||
|
||||
last_type = std::mem::discriminant(&evt.desc);
|
||||
streams
|
||||
.out
|
||||
.append(sprintf!(L!("Event %ls\n"), evt.desc.name()));
|
||||
streams.out.append(sprintf!("Event %ls\n", evt.desc.name()));
|
||||
}
|
||||
|
||||
match &evt.desc {
|
||||
|
@ -664,18 +662,18 @@ pub fn print(streams: &mut IoStreams, type_filter: &wstr) {
|
|||
let name: WString = signal.name().into();
|
||||
streams
|
||||
.out
|
||||
.append(sprintf!(L!("%ls %ls\n"), name, evt.function_name));
|
||||
.append(sprintf!("%ls %ls\n", name, evt.function_name));
|
||||
}
|
||||
EventDescription::ProcessExit { .. } | EventDescription::JobExit { .. } => {}
|
||||
EventDescription::CallerExit { .. } => {
|
||||
streams
|
||||
.out
|
||||
.append(sprintf!(L!("caller-exit %ls\n"), evt.function_name));
|
||||
.append(sprintf!("caller-exit %ls\n", evt.function_name));
|
||||
}
|
||||
EventDescription::Variable { name: param } | EventDescription::Generic { param } => {
|
||||
streams
|
||||
.out
|
||||
.append(sprintf!(L!("%ls %ls\n"), param, evt.function_name));
|
||||
.append(sprintf!("%ls %ls\n", param, evt.function_name));
|
||||
}
|
||||
EventDescription::Any => unreachable!(),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user