From 917dd3071dc8a145b9c379cb3a8a84731c690340 Mon Sep 17 00:00:00 2001 From: acdenisSK Date: Sat, 30 Sep 2017 17:05:59 +0200 Subject: [PATCH] Make the internal string public --- src/framework/standard/command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/framework/standard/command.rs b/src/framework/standard/command.rs index 1415d9b95c8..b2949d9b605 100644 --- a/src/framework/standard/command.rs +++ b/src/framework/standard/command.rs @@ -27,7 +27,7 @@ pub enum CommandOrAlias { /// An error from a command. #[derive(Clone, Debug)] -pub struct Error(String); +pub struct Error(pub String); impl From for Error { fn from(d: D) -> Self {