aboutsummaryrefslogtreecommitdiff
path: root/examples/07_sample_bot_structure/src/commands/meta.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/07_sample_bot_structure/src/commands/meta.rs')
-rw-r--r--examples/07_sample_bot_structure/src/commands/meta.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/07_sample_bot_structure/src/commands/meta.rs b/examples/07_sample_bot_structure/src/commands/meta.rs
index fc7c492..4b43cb8 100644
--- a/examples/07_sample_bot_structure/src/commands/meta.rs
+++ b/examples/07_sample_bot_structure/src/commands/meta.rs
@@ -1,6 +1,5 @@
command!(latency(ctx, msg) {
let latency = ctx.shard.lock()
- .unwrap()
.latency()
.map_or_else(|| "N/A".to_owned(), |s| {
format!("{}.{}s", s.as_secs(), s.subsec_nanos())