aboutsummaryrefslogtreecommitdiff
path: root/examples/06_command_framework
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2017-02-01 17:38:18 -0800
committerAustin Hellyer <[email protected]>2017-02-01 17:38:18 -0800
commit97f9bd10c16eb24d54a0ab00c52f19eb51a88675 (patch)
tree46d7e2ce70553917f42efa6506f01b70739b0d81 /examples/06_command_framework
parentOptimize presence update for self in cache (diff)
downloadserenity-97f9bd10c16eb24d54a0ab00c52f19eb51a88675.tar.xz
serenity-97f9bd10c16eb24d54a0ab00c52f19eb51a88675.zip
Fix unreachable patterns in command macro
When attempting to use a named argument with a type of String, the framework will try to parse the received argument - a String - into a String. This can never fail, so Rust warns that the `Err` arm of the `match` can never be reached. Let's just ignore that and everything will be fine.
Diffstat (limited to 'examples/06_command_framework')
0 files changed, 0 insertions, 0 deletions