scope-lock 0.2.3

Safely extend lifetimes
Documentation
scope-lock-0.2.3 has been yanked.

Scope lock

Scope lock allows you to extend lifetime for certain kind of objects like closures to use them where larger lifetimes are required, like [std::thread::spawn]. Start from [lock_scope].

Examples

Using boxes (requires allocation)

Using references