aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorIllia <[email protected]>2016-12-31 16:39:46 +0300
committerIllia <[email protected]>2016-12-31 16:39:46 +0300
commit52e871383317c85ce8144ecae4120633da367928 (patch)
tree64f3fedc2f4d9a8be97c2c1731ed947968fc634a /examples
parentAdd command alias support and command.example (diff)
downloadserenity-52e871383317c85ce8144ecae4120633da367928.tar.xz
serenity-52e871383317c85ce8144ecae4120633da367928.zip
Fix typo
Diffstat (limited to 'examples')
-rw-r--r--examples/05_user_login/src/main.rs2
-rw-r--r--examples/06_command_framework/src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/05_user_login/src/main.rs b/examples/05_user_login/src/main.rs
index 0328042..582dfbf 100644
--- a/examples/05_user_login/src/main.rs
+++ b/examples/05_user_login/src/main.rs
@@ -8,7 +8,7 @@ fn main() {
let token = env::var("DISCORD_TOKEN")
.expect("Expected a token in the environment");
- // Logging in is essentially equivilant to logging in as a user.
+ // Logging in is essentially equivalent to logging in as a user.
//
// The primary difference is that by using `login_user`, the "Bot " string
// is not prefixed to the token.
diff --git a/examples/06_command_framework/src/main.rs b/examples/06_command_framework/src/main.rs
index 524f35e..4aeafe1 100644
--- a/examples/06_command_framework/src/main.rs
+++ b/examples/06_command_framework/src/main.rs
@@ -42,7 +42,7 @@ fn main() {
println!("{} is connected!", ready.user.name);
});
- // Commands are equivilant to:
+ // Commands are equivalent to:
// "~about"
// "~emoji cat"
// "~emoji dog"