Skip to content

Commit

Permalink
Fix ModelError doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeyla Hellyer committed Jun 26, 2017
1 parent b49f580 commit bd9fcf7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/model/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ use super::Permissions;
///
/// ```rust,no_run
/// # #[cfg(feature="client")]
/// # use std::error::Error;
/// #
/// # #[cfg(feature="client")]
/// # fn try_main() -> Result<(), Box<Error>> {
/// use serenity::{Client, Error};
/// use serenity::model::ModelError;
Expand Down

0 comments on commit bd9fcf7

Please sign in to comment.