Skip to content

Commit

Permalink
Sabilize examples/recode.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Apr 1, 2015
1 parent def0edd commit 4bf0352
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/recode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
// Copyright (c) 2014-2015, Kang Seonghoon.
// See README.md and LICENSE.txt for details.

#![feature(core, collections)] // lib stability features as per RFC #507

extern crate core;
extern crate encoding;
extern crate getopts;

Expand All @@ -28,7 +25,7 @@ fn main() {
opts.optopt("o", "output", "output file", "FILE");
opts.optflag("h", "help", "print this help menu");

let matches = match opts.parse(args.tail()) {
let matches = match opts.parse(&args[1..]) {
Ok(m) => m,
Err(e) => panic!(e.to_string()),
};
Expand Down

0 comments on commit 4bf0352

Please sign in to comment.