1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

ls: remove dependence on nightly

This commit is contained in:
Mark Karasek 2016-07-29 07:07:28 -07:00
parent 900cd41eb6
commit 59ad388cce

View file

@ -8,8 +8,6 @@
// that was distributed with this source code.
//
#![feature(slice_patterns)]
extern crate getopts;
extern crate pretty_bytes;
extern crate termsize;
@ -71,8 +69,8 @@ lazy_static! {
let mut map = HashMap::new();
for c in codes {
let p: Vec<_> = c.split("=").collect();
if let [k, v] = p[..] {
map.insert(k,v);
if p.len() == 2 {
map.insert(p[0], p[1]);
}
}
map