Skip to content

Commit

Permalink
Auto merge of servo#325 - DarkEld3r:313-html-root-url-attribute, r=Si…
Browse files Browse the repository at this point in the history
…monSapin

Add html_root_url attribute

Fixes servo#313

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-url/325)
<!-- Reviewable:end -->
  • Loading branch information
bors-servo authored May 9, 2017
2 parents 356de6c + 4ceb629 commit 780410c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]

name = "url"
# When updating version, also modify html_root_url in the lib.rs
version = "1.4.0"
authors = ["The rust-url developers"]

Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ let css_url = this_document.join("../main.css").unwrap();
assert_eq!(css_url.as_str(), "http://servo.github.io/rust-url/main.css")
*/

#![doc(html_root_url = "https://docs.rs/url/1.4.0")]

#[cfg(feature="rustc-serialize")] extern crate rustc_serialize;
#[macro_use] extern crate matches;
#[cfg(feature="serde")] extern crate serde;
Expand Down

0 comments on commit 780410c

Please sign in to comment.