diff options
| author | Ken Swenson <[email protected]> | 2017-05-19 00:53:32 -0400 |
|---|---|---|
| committer | zeyla <[email protected]> | 2017-05-18 21:53:32 -0700 |
| commit | eb43b9c4a4e43a8e097ea71fdc7584c8108b52a3 (patch) | |
| tree | d1390e40b3df0695d6fe675e6d3468e571ddf115 /src/framework/create_command.rs | |
| parent | Remove deprecated login_bot function from docs (diff) | |
| download | serenity-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