Remove extern crate from README

This commit is contained in:
Ivan Tham 2020-04-08 21:26:32 +08:00
parent 20daf00d51
commit 54f58e180e

View file

@ -246,7 +246,6 @@ This second method shows a method using the 'Builder Pattern' which allows more
// //
// This example demonstrates clap's "builder pattern" method of creating arguments // This example demonstrates clap's "builder pattern" method of creating arguments
// which the most flexible, but also most verbose. // which the most flexible, but also most verbose.
extern crate clap;
use clap::{Arg, App, SubCommand}; use clap::{Arg, App, SubCommand};
fn main() { fn main() {
@ -288,7 +287,6 @@ The next example shows a far less verbose method, but sacrifices some of the adv
// //
// This example demonstrates clap's "usage strings" method of creating arguments // This example demonstrates clap's "usage strings" method of creating arguments
// which is less verbose // which is less verbose
extern crate clap;
use clap::{Arg, App, SubCommand}; use clap::{Arg, App, SubCommand};
fn main() { fn main() {