Add missing 'extern crate std' patch. Bug: http://b/339424309 Test: treehugger Change-Id: Ie2b224932c4cbdf2e8719f4b154274f7366c01d6
Utilities for pinning
First, add this to your Cargo.toml:
[dependencies] pin-utils = "0.1.0-alpha.4"
Now, you can use it:
use pin_utils::pin_mut; // And more...
The current version of pin-utils requires Rust 1.33 or later.
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in pin-utils by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.