aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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(),
}
}
}