Remove some mentioning of structopt

This commit is contained in:
CreepySkeleton 2020-02-13 18:28:08 +03:00
parent 1e7c9efc9d
commit 28ef1e91d4
No known key found for this signature in database
GPG key ID: 10E7166A258A3E2C
5 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
//! Somewhat complex example of usage of structopt. //! Somewhat complex example of usage of #[derive(Clap)].
use clap::Clap; use clap::Clap;

View file

@ -1,4 +1,4 @@
//! How to parse "key=value" pairs with structopt. //! How to parse "key=value" pairs with #[derive(Clap)].
use clap::Clap; use clap::Clap;
use std::error::Error; use std::error::Error;

View file

@ -1,4 +1,4 @@
//! How to use `#[structopt(skip)]` //! How to use `#[clap(skip)]`
use clap::Clap; use clap::Clap;

View file

@ -313,7 +313,7 @@ impl Attrs {
} else { } else {
abort!( abort!(
ident.span(), ident.span(),
"#[structopt(default_value)] (without an argument) can be used \ "#[clap(default_value)] (without an argument) can be used \
only on field level"; only on field level";
note = "see \ note = "see \

View file

@ -1,6 +1,6 @@
//! The preprocessing we apply to doc comments. //! The preprocessing we apply to doc comments.
//! //!
//! structopt works in terms of "paragraphs". Paragraph is a sequence of //! #[derive(Clap)] works in terms of "paragraphs". Paragraph is a sequence of
//! non-empty adjacent lines, delimited by sequences of blank (whitespace only) lines. //! non-empty adjacent lines, delimited by sequences of blank (whitespace only) lines.
use super::attrs::Method; use super::attrs::Method;