aboutsummaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-11-05 00:07:15 +0100
committeracdenisSK <[email protected]>2017-11-05 00:07:15 +0100
commit84706f1fc0a934a851d57f524697da5b177b9be8 (patch)
tree97dc30484d9252907e59068db841ab7751f774ff /src/model
parentWhoops. Add a `FromStr` impl for `ReactionType` (diff)
downloadserenity-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.rs2
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 {