From c4d0b580c93c98fa6ee712f27b944f0448f033c8 Mon Sep 17 00:00:00 2001 From: Zeyla Hellyer Date: Tue, 11 Apr 2017 17:34:55 -0700 Subject: 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. --- src/client/rest/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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<()> { -- cgit v1.2.3