diff options
| author | Kevin Ballard <kevin@sb.org> | 2014-05-04 20:54:02 -0700 |
|---|---|---|
| committer | Kevin Ballard <kevin@sb.org> | 2014-05-08 12:06:22 -0700 |
| commit | eab6bb2ece0427d2ec165e510f2abaa84b857900 (patch) | |
| tree | 09b066f570f067fe927c0cb7cb8b7addf09156c4 /src/libgetopts | |
| parent | 752048a27135bdf15c6f00229b04cea7ceeaf739 (diff) | |
| download | rust-eab6bb2ece0427d2ec165e510f2abaa84b857900.tar.gz rust-eab6bb2ece0427d2ec165e510f2abaa84b857900.zip | |
Handle fallout in documentation
Tweak the tutorial's section on vectors and strings, to slightly clarify the difference between fixed-size vectors, vectors, and slices.
Diffstat (limited to 'src/libgetopts')
| -rw-r--r-- | src/libgetopts/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgetopts/lib.rs b/src/libgetopts/lib.rs index 78c2b6c99e9..3de1dde240c 100644 --- a/src/libgetopts/lib.rs +++ b/src/libgetopts/lib.rs @@ -51,7 +51,7 @@ //! fn main() { //! let args = os::args(); //! -//! let program = args[0].clone(); +//! let program = args.get(0).clone(); //! //! let opts = [ //! optopt("o", "", "set output file name", "NAME"), |
