From 16c7af157f43db42c7bc4e76d2798609e2077929 Mon Sep 17 00:00:00 2001 From: Matt Bilker Date: Wed, 5 Sep 2018 17:19:42 +0000 Subject: [PATCH] error: make InvalidNodeType message look nicer --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.rs b/src/error.rs index 678d609..adbb1b7 100644 --- a/src/error.rs +++ b/src/error.rs @@ -110,7 +110,7 @@ pub enum KbinErrorKind { #[fail(display = "Invalid input for boolean: {}", _0)] InvalidBooleanInput(u8), - #[fail(display = "Invalid node type to create `Node` object from, node_type: {:?}", _0)] + #[fail(display = "Invalid node type to create `Node` object from: {:?}", _0)] InvalidNodeType(StandardType), #[fail(display = "Invalid state")]