diff --git a/src/derive.rs b/src/derive.rs index 225b5d1d3ca..eab1feb0f8d 100644 --- a/src/derive.rs +++ b/src/derive.rs @@ -168,7 +168,7 @@ pub trait Parser: FromArgMatches + IntoApp + Sized { /// [`Parser`]) #[deprecated( since = "3.0.0", - note = "`StructOpt::clap` is replaced with `IntoApp::into_app` (derived as part of `Parser`)" + note = "`StructOpt::from_clap` is replaced with `FromArgMatches::from_arg_matches` (derived as part of `Parser`)" )] fn from_clap(matches: &ArgMatches) -> Self { ::from_arg_matches(matches).unwrap()