From 70b5097aaac85f970c32ceb988dbb5f5d575ee0f Mon Sep 17 00:00:00 2001 From: acdenisSK Date: Thu, 27 Jul 2017 08:10:41 +0200 Subject: Change the config a bit, and a few nitpicks --- src/utils/mod.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/utils') diff --git a/src/utils/mod.rs b/src/utils/mod.rs index 9cd68a1..8467613 100644 --- a/src/utils/mod.rs +++ b/src/utils/mod.rs @@ -299,12 +299,10 @@ pub fn parse_emoji(mention: &str) -> Option { } match id.parse::() { - Ok(x) => { - Some(EmojiIdentifier { - name: name, - id: EmojiId(x), - }) - }, + Ok(x) => Some(EmojiIdentifier { + name: name, + id: EmojiId(x), + }), _ => None, } } else { -- cgit v1.2.3