aboutsummaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-03-17 15:23:47 -0700
committerZeyla Hellyer <[email protected]>2017-03-17 15:24:01 -0700
commitfb2f91789943e8cb104d6540bbfb196f78d9a4d0 (patch)
tree6bb4788ac0be8c1849f170e30352822842e3c690 /src/model
parentFix Cargo.toml requirements in examples (diff)
downloadserenity-fb2f91789943e8cb104d6540bbfb196f78d9a4d0.tar.xz
serenity-fb2f91789943e8cb104d6540bbfb196f78d9a4d0.zip
Fix no-cache compilations
Diffstat (limited to 'src/model')
-rw-r--r--src/model/user.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/user.rs b/src/model/user.rs
index 5b22e10..c69cf39 100644
--- a/src/model/user.rs
+++ b/src/model/user.rs
@@ -237,7 +237,7 @@ impl User {
.insert("recipient_id", self.id.0)
.build();
- rest::create_private_channel(map)?.id
+ rest::create_private_channel(&map)?.id
}};
let map = ObjectBuilder::new()