From b44065b78dd31d2931d5d4427b608ae907e841a9 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Fri, 31 Oct 2014 19:13:15 -0700 Subject: [PATCH] Clean up warnings --- phf/src/lib.rs | 2 +- phf_mac/src/util.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/phf/src/lib.rs b/phf/src/lib.rs index b12f1022..9eccddbb 100644 --- a/phf/src/lib.rs +++ b/phf/src/lib.rs @@ -3,7 +3,7 @@ //! Keys can be string literals, byte string literals, byte literals, char //! literals, or any of the fixed-size integral types. #![doc(html_root_url="https://sfackler.github.io/doc")] -#![warn(missing_doc)] +#![warn(missing_docs)] #![feature(macro_rules, tuple_indexing, phase, globs)] #![no_std] diff --git a/phf_mac/src/util.rs b/phf_mac/src/util.rs index fb148053..a1224538 100644 --- a/phf_mac/src/util.rs +++ b/phf_mac/src/util.rs @@ -135,7 +135,7 @@ pub fn try_generate_hash(entries: &[Entry], rng: &mut XorShiftRng) -> Option Option