From d71140079b9a7b89ba8fb31934e25cbad0465f0f Mon Sep 17 00:00:00 2001 From: Ben S Date: Sun, 22 Mar 2015 19:54:12 +0000 Subject: [PATCH] Missed a feature flag... --- src/column.rs | 1 + src/file.rs | 1 + src/main.rs | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/column.rs b/src/column.rs index 8a4e960..51ea239 100644 --- a/src/column.rs +++ b/src/column.rs @@ -1,4 +1,5 @@ use std::iter::repeat; +use unicode::str::UnicodeStr; use ansi_term::Style; diff --git a/src/file.rs b/src/file.rs index 46c344e..ef968ae 100644 --- a/src/file.rs +++ b/src/file.rs @@ -10,6 +10,7 @@ use std::old_path::GenericPath; use std::old_path::posix::Path; use std::ascii::AsciiExt; use std::os::getcwd; +use unicode::str::UnicodeStr; use ansi_term::{ANSIString, ANSIStrings, Colour, Style}; use ansi_term::Style::Plain; diff --git a/src/main.rs b/src/main.rs index 247e62a..eca253e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -#![feature(collections, core, exit_status, io, libc, old_fs, old_io, old_path, os, std_misc)] +#![feature(collections, core, exit_status, io, libc, old_fs, old_io, old_path, os, std_misc, unicode)] #![allow(deprecated)] // Other platforms than macos don't need std_misc but you can't @@ -12,6 +12,7 @@ extern crate locale; extern crate natord; extern crate number_prefix; extern crate pad; +extern crate unicode; extern crate users; #[cfg(feature="git")]