aboutsummaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-07-10 21:47:00 +0200
committeracdenisSK <[email protected]>2017-07-10 21:47:00 +0200
commit710fa02405d8d740c4ee952822d856af0e845aa8 (patch)
tree586c1ccb096e2d8f0b2916f566ec63fcbcc7cf16 /src/error.rs
parentFixed clippy warnings (#120) (diff)
downloadserenity-710fa02405d8d740c4ee952822d856af0e845aa8.tar.xz
serenity-710fa02405d8d740c4ee952822d856af0e845aa8.zip
Use a trait way of overloading the `ban` function instead of an enum
Possibly removes some overhead introduced by enums but makes the underlaying code of the function easier to read and is more concise
Diffstat (limited to 'src/error.rs')
0 files changed, 0 insertions, 0 deletions