diff options
| author | acdenisSK <[email protected]> | 2017-11-05 00:07:15 +0100 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-11-05 00:07:15 +0100 |
| commit | 84706f1fc0a934a851d57f524697da5b177b9be8 (patch) | |
| tree | 97dc30484d9252907e59068db841ab7751f774ff /src/model | |
| parent | Whoops. Add a `FromStr` impl for `ReactionType` (diff) | |
| download | serenity-84706f1fc0a934a851d57f524697da5b177b9be8.tar.xz serenity-84706f1fc0a934a851d57f524697da5b177b9be8.zip | |
Actually, change `NeverFails` to a void enum
Diffstat (limited to 'src/model')
| -rw-r--r-- | src/model/channel/reaction.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/channel/reaction.rs b/src/model/channel/reaction.rs index 2003c28..69116d7 100644 --- a/src/model/channel/reaction.rs +++ b/src/model/channel/reaction.rs @@ -282,7 +282,7 @@ impl<'a> From<&'a str> for ReactionType { // TODO: Change this to `!` once it becomes stable. #[derive(Debug)] -pub struct NeverFails; +pub enum NeverFails {} impl Display for NeverFails { fn fmt(&self, f: &mut Formatter) -> FmtResult { |