Skip to content

Commit

Permalink
Make the internal string public
Browse files Browse the repository at this point in the history
  • Loading branch information
arqunis committed Sep 30, 2017
1 parent 05f158f commit 917dd30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/standard/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 917dd30

Please sign in to comment.