Skip to content

Commit

Permalink
fix: try the helper again
Browse files Browse the repository at this point in the history
  • Loading branch information
oberrich committed Feb 6, 2025
1 parent d5c134b commit 0698c4f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bindgen/codegen/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3330,10 +3330,11 @@ impl Method {

let mut attrs = attrs_for_item(function_item, ctx);
attrs.push(attributes::inline());
if signature.must_use() {

/*if signature.must_use() {
attrs.push(attributes::must_use());
}
//set_must_use(&mut attrs, signature.must_use());
}*/
set_must_use(&mut attrs, signature.must_use());

let attrs = process_attributes(
result,
Expand Down

0 comments on commit 0698c4f

Please sign in to comment.