Skip to content

Commit

Permalink
New release, some doc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimundi committed Aug 3, 2015
1 parent a15ddc1 commit 0cef85e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lazy_static"
version = "0.1.13"
version = "0.1.14"
authors = ["Marvin Löbel <[email protected]>"]
license = "MIT"

Expand Down
5 changes: 1 addition & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ fn main() {
# Implementation details
The `Deref` implementation uses a hidden `static mut` that is guarded by a atomic check
using the `sync::Once` abstraction. All lazily evaluated values are currently
put in a heap allocated box, due to the Rust language currently not providing any way to
define uninitialized `static mut` values.
The `Deref` implementation uses a hidden static variable that is guarded by a atomic check on each access. On stable Rust, the macro may need to allocate each static on the heap.
*/

Expand Down

0 comments on commit 0cef85e

Please sign in to comment.