From c2e402b6cb8c2ef612d5d3f64d0dd09810878fb8 Mon Sep 17 00:00:00 2001 From: Trevor Spiteri Date: Thu, 15 Apr 2021 19:54:52 +0200 Subject: [PATCH] Set html_root_url attribute (#169) https://rust-lang.github.io/api-guidelines/documentation.html#crate-sets-html_root_url-attribute-c-html-root --- Cargo.toml | 2 +- src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8bc0dbb32..cf057c04c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "typenum" build = "build/main.rs" - version = "1.13.0" + version = "1.13.0" # remember to update html_root_url authors = [ "Paho Lurie-Gregg ", "Andre Bogus " diff --git a/src/lib.rs b/src/lib.rs index bf616a20e..e8cbe6f64 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -59,6 +59,7 @@ ) )] #![cfg_attr(feature = "cargo-clippy", deny(clippy::missing_inline_in_public_items))] +#![doc(html_root_url = "https://docs.rs/typenum/1.13.0")] // For debugging macros: // #![feature(trace_macros)]