From 6bbad421dc0412f3147827dd00b8974c54ce38ba Mon Sep 17 00:00:00 2001 From: Ashley Mannix Date: Tue, 26 Feb 2019 12:27:10 +1000 Subject: [PATCH 1/2] prepare for 1.3.0 release --- Cargo.toml | 2 +- README.md | 2 +- src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 74f5161..ea0ca7a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "lazy_static" # NB: When modifying, also modify html_root_url in lib.rs -version = "1.2.0" +version = "1.3.0" authors = ["Marvin Löbel "] license = "MIT/Apache-2.0" diff --git a/README.md b/README.md index e8291c3..c913375 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Add the following dependency to your Cargo manifest... ```toml [dependencies] -lazy_static = "1.2.0" +lazy_static = "1.3.0" ``` ...and see the [docs](https://docs.rs/lazy_static) for how to use it. diff --git a/src/lib.rs b/src/lib.rs index f555da2..2feb5d1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -99,7 +99,7 @@ no guarantees can be made about them in regard to SemVer stability. */ -#![doc(html_root_url = "https://docs.rs/lazy_static/1.2.0")] +#![doc(html_root_url = "https://docs.rs/lazy_static/1.3.0")] #![no_std] #[cfg(not(feature = "spin_no_std"))] From bc5588b2a1ce1f91d09458187dba097889e772d3 Mon Sep 17 00:00:00 2001 From: Ashley Mannix Date: Tue, 26 Feb 2019 13:45:36 +1000 Subject: [PATCH 2/2] fix up a failing doc test --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 2feb5d1..ac0cf8a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -195,7 +195,7 @@ pub trait LazyStatic { /// extern crate lazy_static; /// /// lazy_static! { -/// static ref BUFFER: Vec = (0..65537).collect(); +/// static ref BUFFER: Vec = (0..255).collect(); /// } /// /// fn main() {