This commit is contained in:
David Teller
2020-05-31 10:51:18 +02:00
committed by GitHub
parent 467578773f
commit 3ce63ffd13

View File

@@ -404,7 +404,7 @@ pub fn main() {
# impl Test {
# fn new(txt: &str) -> Self {
# Test {
# a: let a = String::from(txt),
# a: String::from(txt),
# b: std::ptr::null(),
# _marker: PhantomPinned, // This makes our type `!Unpin`
# }