diff options
| author | Zeyla Hellyer <[email protected]> | 2018-01-05 22:41:18 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-01-05 22:41:18 -0800 |
| commit | 85d7d5f6a6df9841659bc7ad8e392f31c1aae46c (patch) | |
| tree | 001ea9d81f51f8919a5b07cbea9f64621955dd35 /examples/05_command_framework/src | |
| parent | Fix permission overwrites in permission building (diff) | |
| download | serenity-85d7d5f6a6df9841659bc7ad8e392f31c1aae46c.tar.xz serenity-85d7d5f6a6df9841659bc7ad8e392f31c1aae46c.zip | |
Further generic-ify `reaction_users` `after` param
Further generic-ify the `after` parameter on the `reaction_users` method
of the following structs:
- `ChannelId`
- `Group`
- `GuildChannel`
- `Message`
- `Channel`
- `GuildChannel`
Do this by changing the `U` trait bound from `Into<UserId>` to
`Into<Option<UserId>>`.
This resolves problems determining types when passing `None` as the
argument, as reported in #247.
Diffstat (limited to 'examples/05_command_framework/src')
0 files changed, 0 insertions, 0 deletions