Set hammond-data to build with Deny missing_docs.

This commit is contained in:
Jordan Petridis 2017-11-28 09:44:26 +02:00
parent e4a7a7becf
commit c07215d357
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6
2 changed files with 3 additions and 4 deletions

View File

@ -1,12 +1,11 @@
//! Random CRUD helper functions.
use diesel::prelude::*; use diesel::prelude::*;
use diesel; use diesel;
use models::queryables::{Episode, Podcast, Source}; use models::queryables::{Episode, Podcast, Source};
use chrono::prelude::*; use chrono::prelude::*;
use errors::*; use errors::*;
/// Random db querries helper functions.
/// Probably needs cleanup.
use database::connection; use database::connection;
pub fn get_sources() -> Result<Vec<Source>> { pub fn get_sources() -> Result<Vec<Source>> {

View File

@ -1,5 +1,5 @@
#![recursion_limit = "1024"] #![recursion_limit = "1024"]
#![warn(missing_docs)] #![deny(missing_docs)]
#![cfg_attr(feature = "cargo-clippy", allow(blacklisted_name))] #![cfg_attr(feature = "cargo-clippy", allow(blacklisted_name))]
//! A libraty for parsing, indexing and retrieving podcast Feeds, //! A libraty for parsing, indexing and retrieving podcast Feeds,