aboutsummaryrefslogtreecommitdiff
path: root/src/framework/create_command.rs
diff options
context:
space:
mode:
authorKen Swenson <[email protected]>2017-05-19 00:53:32 -0400
committerzeyla <[email protected]>2017-05-18 21:53:32 -0700
commiteb43b9c4a4e43a8e097ea71fdc7584c8108b52a3 (patch)
treed1390e40b3df0695d6fe675e6d3468e571ddf115 /src/framework/create_command.rs
parentRemove deprecated login_bot function from docs (diff)
downloadserenity-eb43b9c4a4e43a8e097ea71fdc7584c8108b52a3.tar.xz
serenity-eb43b9c4a4e43a8e097ea71fdc7584c8108b52a3.zip
Allow unreachable_code lint in command! macro
If a user returns at the end of a `command!` macro block, the library's return value will never be processed, as it's unreachable. Instead of warning for this, allow it.
Diffstat (limited to 'src/framework/create_command.rs')
0 files changed, 0 insertions, 0 deletions