diff options
| author | acdenisSK <[email protected]> | 2017-09-30 17:05:59 +0200 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-10-09 15:45:48 -0700 |
| commit | 3b9f0f8501f7581d710e3f7ebbfcd3176d14a9b1 (patch) | |
| tree | 0868ea45e3b3b8c25daf60d6c1e84bd3099821da /src/framework | |
| parent | Change behaviour of default_channel (#185) (diff) | |
| download | serenity-3b9f0f8501f7581d710e3f7ebbfcd3176d14a9b1.tar.xz serenity-3b9f0f8501f7581d710e3f7ebbfcd3176d14a9b1.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 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 { |