diff options
| author | acdenisSK <[email protected]> | 2017-07-10 21:47:00 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-07-10 21:47:00 +0200 |
| commit | 710fa02405d8d740c4ee952822d856af0e845aa8 (patch) | |
| tree | 586c1ccb096e2d8f0b2916f566ec63fcbcc7cf16 /src/error.rs | |
| parent | Fixed clippy warnings (#120) (diff) | |
| download | serenity-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