Update for rustc

This commit is contained in:
Pierre Krieger 2014-11-19 06:09:54 +01:00
parent 4edb3df155
commit ff3a29aaf5
10 changed files with 1325 additions and 1301 deletions

View file

@ -79,7 +79,7 @@ pub enum CreationError {
impl std::error::Error for CreationError {
fn description(&self) -> &str {
match self {
&OsError(ref text) => text.as_slice(),
&CreationError::OsError(ref text) => text.as_slice(),
}
}
}