aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 3798ffd..54f4b16 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -84,9 +84,9 @@ pub enum CreationError {
impl CreationError {
fn to_string(&self) -> &str {
- match self {
- &CreationError::OsError(ref text) => text.as_slice(),
- &CreationError::NotSupported => "Some of the requested attributes are not supported",
+ match *self {
+ CreationError::OsError(ref text) => text.as_slice(),
+ CreationError::NotSupported => "Some of the requested attributes are not supported",
}
}
}