Closed phil-opp closed 2 years ago
The alloc library was switched to the 2021 edition in https://github.com/rust-lang/rust/pull/92068. However, it did not use any features of the new edition until PR https://github.com/rust-lang/rust/pull/98103, which relies on the newer closure capture mechanism. This commit fixes the build on the latest nightlies, which include that PR.
Fixes #104
Published as v0.6.6
The alloc library was switched to the 2021 edition in https://github.com/rust-lang/rust/pull/92068. However, it did not use any features of the new edition until PR https://github.com/rust-lang/rust/pull/98103, which relies on the newer closure capture mechanism. This commit fixes the build on the latest nightlies, which include that PR.
Fixes #104