Skip to content

Commit 60d3cff

Browse files
committed
swap methods
1 parent 334a742 commit 60d3cff

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

clap_complete/src/env/shells.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -416,13 +416,13 @@ compdef _clap_dynamic_completer_NAME BIN"#
416416
}
417417

418418
impl Zsh {
419-
/// Escape help string
420-
fn escape_help(string: &str) -> String {
421-
string.replace('\\', "\\\\")
422-
}
423-
424419
/// Escape value string
425420
fn escape_value(string: &str) -> String {
426421
string.replace('\\', "\\\\").replace(':', "\\:")
427422
}
423+
424+
/// Escape help string
425+
fn escape_help(string: &str) -> String {
426+
string.replace('\\', "\\\\")
427+
}
428428
}

0 commit comments

Comments
 (0)