aboutsummaryrefslogtreecommitdiff
path: root/src/framework/standard/help_commands.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-07-29 19:45:26 -0700
committerZeyla Hellyer <[email protected]>2018-07-29 19:45:26 -0700
commitf3f22d7e072477028c9853d467dd18cf50e1589f (patch)
treecf7364dee857dc984f003da58df123ee81c08c73 /src/framework/standard/help_commands.rs
parentFix closing code fence in readme (diff)
downloadserenity-f3f22d7e072477028c9853d467dd18cf50e1589f.tar.xz
serenity-f3f22d7e072477028c9853d467dd18cf50e1589f.zip
Reduce minimal Rust version to 1.25
Diffstat (limited to 'src/framework/standard/help_commands.rs')
-rw-r--r--src/framework/standard/help_commands.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/framework/standard/help_commands.rs b/src/framework/standard/help_commands.rs
index fd74ace..e891ff5 100644
--- a/src/framework/standard/help_commands.rs
+++ b/src/framework/standard/help_commands.rs
@@ -266,7 +266,7 @@ pub fn with_embeds<H: BuildHasher>(
&help_options.striked_commands_tip_in_dm
};
- if let Some(ref striked_command_text) = striked_command_tip {
+ if let &Some(ref striked_command_text) = striked_command_tip {
e = e.colour(help_options.embed_success_colour).description(
format!("{}\n{}", &help_options.individual_command_tip, striked_command_text),
);
@@ -510,7 +510,7 @@ pub fn plain<H: BuildHasher>(
&help_options.striked_commands_tip_in_dm
};
- if let Some(ref striked_command_text) = striked_command_tip {
+ if let &Some(ref striked_command_text) = striked_command_tip {
let _ = writeln!(result, "{}\n{}\n", &help_options.individual_command_tip, striked_command_text);
} else {
let _ = writeln!(result, "{}\n", &help_options.individual_command_tip);