Skip to content

Commit a60f12d

Browse files
committed
Avoid compiler error about glob imports in getopts example
1 parent a1d3cc5 commit a60f12d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libextra/getopts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
//!
3232
//! ~~~{.rust}
3333
//! extern mod extra;
34-
//! use extra::getopts::*;
34+
//! use extra::getopts::{optopt,optflag,getopts};
3535
//! use std::os;
3636
//!
3737
//! fn do_work(inp: &str, out: Option<~str>) {

0 commit comments

Comments
 (0)