mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
Fix an annoying warning about camel case types
This commit is contained in:
parent
4d300b7f32
commit
0c20ccc72d
1 changed files with 2 additions and 2 deletions
|
@ -318,7 +318,7 @@ pub fn commandline(parser: &Parser, streams: &mut IoStreams, args: &mut [&wstr])
|
|||
return STATUS_INVALID_ARGS;
|
||||
}
|
||||
|
||||
type rl = ReadlineCmd;
|
||||
type RL = ReadlineCmd;
|
||||
for arg in &w.argv[w.wopt_index..] {
|
||||
let Some(cmd) = input_function_get_code(arg) else {
|
||||
streams
|
||||
|
@ -329,7 +329,7 @@ pub fn commandline(parser: &Parser, streams: &mut IoStreams, args: &mut [&wstr])
|
|||
};
|
||||
// Don't enqueue a repaint if we're currently in the middle of one,
|
||||
// because that's an infinite loop.
|
||||
if matches!(cmd, rl::RepaintMode | rl::ForceRepaint | rl::Repaint) {
|
||||
if matches!(cmd, RL::RepaintMode | RL::ForceRepaint | RL::Repaint) {
|
||||
if parser.libdata().is_repaint {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue