diff options
| author | Zeyla Hellyer <[email protected]> | 2017-04-11 17:34:55 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-04-11 17:34:55 -0700 |
| commit | c4d0b580c93c98fa6ee712f27b944f0448f033c8 (patch) | |
| tree | 8be3a0beeb5860079a9cbdccecf6f569391c66fd /src | |
| parent | Switch to using serde for deserialization (diff) | |
| download | serenity-c4d0b580c93c98fa6ee712f27b944f0448f033c8.tar.xz serenity-c4d0b580c93c98fa6ee712f27b944f0448f033c8.zip | |
Fix `client::rest::delete_webhook_with_token` test
The doctest for this function did not have an ending code fence, causing
the remaining documentation to be lexed as part of the doctest.
To fix this, add a code fence after the code and prior to the named
anchor links.
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/rest/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/rest/mod.rs b/src/client/rest/mod.rs index 9cd57fa..1e032fd 100644 --- a/src/client/rest/mod.rs +++ b/src/client/rest/mod.rs @@ -525,6 +525,7 @@ pub fn delete_webhook(webhook_id: u64) -> Result<()> { /// let token = "ig5AO-wdVWpCBtUUMxmgsWryqgsW3DChbKYOINftJ4DCrUbnkedoYZD0VOH1QLr-S3sV"; /// /// rest::delete_webhook_with_token(id, token).expect("Error deleting webhook"); +/// ``` /// /// [`Webhook`]: ../../model/struct.Webhook.html pub fn delete_webhook_with_token(webhook_id: u64, token: &str) -> Result<()> { |