diff options
| author | Zeyla Hellyer <[email protected]> | 2017-05-27 08:38:07 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-05-27 08:38:07 -0700 |
| commit | c163d0e0f42a0a0f60060031bcf2a3d52e81a6eb (patch) | |
| tree | e42f5cfb34018a540f5b4d3b354527f33479531e /src/framework | |
| parent | Change create_permission to take a reference (diff) | |
| download | serenity-c163d0e0f42a0a0f60060031bcf2a3d52e81a6eb.tar.xz serenity-c163d0e0f42a0a0f60060031bcf2a3d52e81a6eb.zip | |
Fix GuildChannel::create_permission examples
The examples didn't bring `model::PermissionOverwriteType` into scope.
Additionally, wrap the examples in try_main's to make use of the `?`
operator.
Diffstat (limited to 'src/framework')
0 files changed, 0 insertions, 0 deletions