Skip to content

Commit

Permalink
Remove html_root_url from the derive crate
Browse files Browse the repository at this point in the history
The html_root_url controls where documentation of other crates points if
they use types from this crate in their public API. A proc-macro crate
does not expose types that could be used in the public API of a
different crate, so html_root_url is redundant.
  • Loading branch information
dtolnay committed Dec 26, 2018
1 parent 2cee035 commit 1d24bca
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ref-cast-impl"
version = "0.2.4" # remember to update html_root_url
version = "0.2.4"
authors = ["David Tolnay <dtolnay@gmail.com>"]
license = "MIT/Apache-2.0"
description = "Derive implementation for ref_cast::RefCast."
2 changes: 0 additions & 2 deletions derive/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![doc(html_root_url = "https://docs.rs/ref-cast-impl/0.2.4")]

#![recursion_limit = "128"]

extern crate proc_macro;

0 comments on commit 1d24bca

Please sign in to comment.