Skip to content

Commit

Permalink
Deny missing debug impls, missing docs, and warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmycuadra authored and KodrAus committed Oct 12, 2017
1 parent 3a1c638 commit 13f6f60
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@
#![cfg_attr(rustbuild, feature(staged_api, rustc_private))]
#![cfg_attr(rustbuild, unstable(feature = "rustc_private", issue = "27812"))]

#![deny(missing_debug_implementations, missing_docs, warnings)]

extern crate log;

use std::env;
Expand All @@ -209,8 +211,11 @@ mod filter;
/// Log target, either stdout or stderr.
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
pub enum Target {
/// Logs will be sent to standard output.
Stdout,
/// Logs will be sent to standard error.
Stderr,
/// Logs will be silenced.
Silent,
}

Expand Down

0 comments on commit 13f6f60

Please sign in to comment.