From 92ec57aca33e1dfeda7a6cadb0b0fd08ddc23808 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sat, 23 Aug 2014 09:19:03 -0700 Subject: [PATCH] Add back crate_name for rustdoc Closes #10 --- phf/src/lib.rs | 1 + phf_mac/src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/phf/src/lib.rs b/phf/src/lib.rs index ceb6ad03..fed01609 100644 --- a/phf/src/lib.rs +++ b/phf/src/lib.rs @@ -5,6 +5,7 @@ #![doc(html_root_url="http://www.rust-ci.org/sfackler")] #![warn(missing_doc)] #![feature(macro_rules)] +#![crate_name="phf"] use std::fmt; use std::iter; diff --git a/phf_mac/src/lib.rs b/phf_mac/src/lib.rs index e7467785..6381e55a 100644 --- a/phf_mac/src/lib.rs +++ b/phf_mac/src/lib.rs @@ -3,6 +3,7 @@ //! See the documentation for the `phf` crate for more details. #![doc(html_root_url="http://sfackler.github.io/rust-phf/doc")] #![feature(plugin_registrar, quote, default_type_params, macro_rules)] +#![crate_name="phf_mac"] extern crate rand; extern crate syntax;