Skip to content

Commit c3c959e

Browse files
authored
Merge pull request #72 from neosilky/patch-2
Set html_root_url crate attribute
2 parents 7eb3bbf + ba86250 commit c3c959e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[package]
22
name = "lazy_static"
3+
# NB: When modifying, also modify html_root_url in lib.rs
34
version = "0.2.6"
45
authors = ["Marvin Löbel <[email protected]>"]
56
license = "MIT"

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ The `Deref` implementation uses a hidden static variable that is guarded by a at
8585

8686
#![cfg_attr(feature="nightly", feature(const_fn, allow_internal_unstable, core_intrinsics))]
8787

88+
#![doc(html_root_url = "https://docs.rs/lazy_static/0.2.6")]
8889
#![no_std]
8990

9091
#[cfg(not(feature="nightly"))]

0 commit comments

Comments
 (0)