From ff3a29aaf5eaa95716eea849aea0b087a325113e Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Wed, 19 Nov 2014 06:09:54 +0100 Subject: Update for rustc --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index d65b415..7505580 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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(), } } } -- cgit v1.2.3