There was an error while loading. Please reload this page.
2 parents 7b0dd96 + cac92c3 commit 253159cCopy full SHA for 253159c
1 file changed
internal/src/pin_data.rs
@@ -258,8 +258,6 @@ fn generate_projections(
258
..
259
},
260
)| {
261
- let mut attrs = attrs.clone();
262
- attrs.retain(|a| !a.path().is_ident("pin"));
263
let mut no_doc_attrs = attrs.clone();
264
no_doc_attrs.retain(|a| !a.path().is_ident("doc"));
265
let ident = ident
@@ -360,8 +358,6 @@ fn generate_the_pin_data(
360
358
struct_ident: &Ident,
361
359
pinned: bool,
362
) -> TokenStream {
363
364
365
366
.as_ref()
367
.expect("only structs with named fields are supported");
0 commit comments