Also update to use https instead of http. This avois mixed content degradation on docs.rs. The doc root URLs are correct as they are, the URL does not include the crate name itself.
@@ -69,6 +69,10 @@
//! # fn main() {
//! # }
//! ```
+#![doc(html_logo_url = "https://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
+ html_favicon_url = "https://rust-num.github.io/num/favicon.ico",
+ html_root_url = "https://rust-num.github.io/num/",
+ html_playground_url = "https://play.rust-lang.org/")]
#[cfg(any(feature = "rand", test))]
extern crate rand;
@@ -9,6 +9,10 @@
// except according to those terms.
//! Complex numbers.
extern crate num_traits as traits;
//! Integer trait and functions.
//! External iterators for generic mathematics
extern crate num_integer as integer;
#![feature(plugin_registrar, rustc_private)]
extern crate syntax;
extern crate syntax_ext;
//! Rational numbers
#[cfg(feature = "rustc-serialize")]
extern crate rustc_serialize;
@@ -52,10 +52,10 @@
//!
//! [newt]: https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method
-#![doc(html_logo_url = "http://rust-num.github.io/num/rust-logo-128x128-blk-v2.png",
- html_favicon_url = "http://rust-num.github.io/num/favicon.ico",
- html_root_url = "http://rust-num.github.io/num/",
- html_playground_url = "http://play.rust-lang.org/")]
extern crate num_traits;
extern crate num_integer;
//! Numeric traits for generic mathematics
use std::ops::{Add, Sub, Mul, Div, Rem};