gecko-dev/third_party/rust/lazycell/CHANGELOG.md

5.6 KiB

v1.2.1 (2018-12-03)

Features

  • Implement Clone for LazyCell and AtomicLazyCell (30fe4a8f)

v1.2.0 (2018-09-19)

Features

  • add LazyCell::replace for infallible access (a63ffb90)

v1.1.0 (2018-09-10)

Documentation

  • add note regarding LazyCell::borrow_mut (9d634d1f)
  • describe mutability more consistently (b8078029, closes #78)

Improvements

  • add NONE constant for an empty AtomicLazyCell (31aff0da, closes #87)
  • add LazyCell::borrow_mut_with and LazyCell::try_borrow_mut_with (fdc6d268, closes #79, #80)

v1.0.0 (2018-06-06)

Features

0.6.0 (2017-11-25)

Bug Fixes

  • fix soundness hole in borrow_with (d1f46bef)

Features

Breaking Changes

  • add T: Send for AtomicLazyCell Sync impl (668bb2fa, closes #67)

Improvements

  • add T: Send for AtomicLazyCell Sync impl (668bb2fa, closes #67)

v0.5.1 (2017-03-24)

Documentation

Improvements

Features

  • Add get method for Copy types (dc8f8209)

v0.5.0 (2016-12-08)

Features

  • add borrow_with to LazyCell (a15efa35)

(2016-08-17)

Breaking Changes

  • LazyCell: return Err(value) on full cell (68f3415d, breaks #)

Improvements

  • LazyCell: return Err(value) on full cell (68f3415d, breaks #)

(2016-08-16)

Features

  • add AtomicLazyCell which is thread-safe (85afbd36)

Improvements

  • Use UnsafeCell instead of RefCell (3347a8e9)

(2016-04-18)

Documentation

  • put types in between backticks (607cf939)

v0.2.0 (2016-03-28)

Features

  • lazycell:
    • add tests for LazyCell struct (38f1313d, closes #30)
    • remove unnecessary Default impl (68c16d2d)

Documentation

  • CHANGELOG: removed unnecessary sections (1cc0555d)
  • README: add link to documentation (c8dc33f0, closes #13)

v0.1.0 (2016-03-16)

Features

  • lib.rs: implement Default trait for LazyCell (150a6304)

v0.0.1 (2016-03-16)

Bug Fixes

  • Cargo.toml: loosen restrictions on Clippy version (84dd8f96)

Features