Fixed warnings

This commit is contained in:
arkpar
2016-02-20 11:54:12 +01:00
parent b66f88181a
commit 8bd052b986
6 changed files with 6 additions and 14 deletions

View File

@@ -25,7 +25,7 @@ struct FakeLogEntry {
}
#[derive(PartialEq, Eq, Hash, Debug)]
#[allow(enum_variant_names)] // Common prefix is C ;)
#[cfg_attr(feature="dev", allow(enum_variant_names))] // Common prefix is C ;)
enum FakeCallType {
CALL, CREATE
}