aboutsummaryrefslogtreecommitdiff
path: root/src/framework
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-09-30 17:05:59 +0200
committerZeyla Hellyer <[email protected]>2017-10-09 15:45:48 -0700
commit3b9f0f8501f7581d710e3f7ebbfcd3176d14a9b1 (patch)
tree0868ea45e3b3b8c25daf60d6c1e84bd3099821da /src/framework
parentChange behaviour of default_channel (#185) (diff)
downloadserenity-3b9f0f8501f7581d710e3f7ebbfcd3176d14a9b1.tar.xz
serenity-3b9f0f8501f7581d710e3f7ebbfcd3176d14a9b1.zip
Make the internal string public
Diffstat (limited to 'src/framework')
-rw-r--r--src/framework/standard/command.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/standard/command.rs b/src/framework/standard/command.rs
index 96d4efd..a163641 100644
--- a/src/framework/standard/command.rs
+++ b/src/framework/standard/command.rs
@@ -24,7 +24,7 @@ pub enum CommandOrAlias {
/// An error from a command.
#[derive(Clone, Debug)]
-pub struct Error(String);
+pub struct Error(pub String);
impl<D: fmt::Display> From<D> for Error {
fn from(d: D) -> Self {