mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
src: escape non-link [] in rustdoc
Fix a broken_intra_doc_links warning: warning: unresolved link to `ARGUMENTS` the module `argument` contains no item named `ARGUMENTS` BUG=None TEST=cargo doc --all-features Change-Id: I678aa5dd9ede33879b2725e5a53411cad38d8a65 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2762063 Reviewed-by: Zach Reizner <zachr@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
parent
2494889d28
commit
89e64c0d2e
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ where
|
|||
/// Prints command line usage information to stdout.
|
||||
///
|
||||
/// Usage information is printed according to the help fields in `args` with a leading usage line.
|
||||
/// The usage line is of the format "`program_name` [ARGUMENTS] `required_arg`".
|
||||
/// The usage line is of the format "`program_name` \[ARGUMENTS\] `required_arg`".
|
||||
pub fn print_help(program_name: &str, required_arg: &str, args: &[Argument]) {
|
||||
println!(
|
||||
"Usage: {} {}{}\n",
|
||||
|
|
Loading…
Reference in a new issue