From 9b53582f5e5e9650abda4106124e7f9f4e78a90c Mon Sep 17 00:00:00 2001 From: Zeyla Hellyer Date: Sat, 16 Dec 2017 13:24:09 -0800 Subject: Fix most clippy lints, take more refeernces Fix clippy lints and subsequently accept references for more function parameters. --- examples/04_message_builder/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/04_message_builder/src') diff --git a/examples/04_message_builder/src/main.rs b/examples/04_message_builder/src/main.rs index 4452cfe..e906ed2 100644 --- a/examples/04_message_builder/src/main.rs +++ b/examples/04_message_builder/src/main.rs @@ -28,7 +28,7 @@ impl EventHandler for Handler { .push("User ") .push_bold_safe(msg.author.name) .push(" used the 'ping' command in the ") - .mention(channel) + .mention(&channel) .push(" channel") .build(); -- cgit v1.2.3