diff options
| author | acdenisSK <[email protected]> | 2017-09-30 17:05:59 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-09-30 17:05:59 +0200 |
| commit | 917dd3071dc8a145b9c379cb3a8a84731c690340 (patch) | |
| tree | ad223ed51cf1b0a3af9c6b943570163e6042ba51 /src/framework | |
| parent | Fix a few things with the framework trait (diff) | |
| download | serenity-917dd3071dc8a145b9c379cb3a8a84731c690340.tar.xz serenity-917dd3071dc8a145b9c379cb3a8a84731c690340.zip | |
Make the internal string public
Diffstat (limited to 'src/framework')
| -rw-r--r-- | src/framework/standard/command.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/standard/command.rs b/src/framework/standard/command.rs index 1415d9b..b2949d9 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<D: fmt::Display> From<D> for Error { fn from(d: D) -> Self { |