aboutsummaryrefslogtreecommitdiff
path: root/src/framework
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-08-22 02:20:07 +0200
committeracdenisSK <[email protected]>2017-08-22 02:20:30 +0200
commit8bf77fa431308451411670f20896e36f920997c5 (patch)
treed9bae3630e9dd27bbf00608421ef5aa4ee2c77f4 /src/framework
parentHave the variants be renamed to use snake_case (diff)
downloadserenity-8bf77fa431308451411670f20896e36f920997c5.tar.xz
serenity-8bf77fa431308451411670f20896e36f920997c5.zip
Replace `()` with actual error types
Diffstat (limited to 'src/framework')
-rw-r--r--src/framework/standard/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/standard/mod.rs b/src/framework/standard/mod.rs
index 382a268..87880f8 100644
--- a/src/framework/standard/mod.rs
+++ b/src/framework/standard/mod.rs
@@ -92,7 +92,7 @@ macro_rules! command {
#[allow(unreachable_code, unused_mut)]
pub fn $fname(mut $c: &mut $crate::client::Context,
$m: &$crate::model::Message,
- $a: Args)
+ mut $a: Args)
-> ::std::result::Result<(), String> {
$b