Skip to content

Commit 17c4589

Browse files
authored
fix(rust): suppress safety warning on generate macro (#922) (#926)
Signed-off-by: Bob Aman <[email protected]>
1 parent 63bf2a9 commit 17c4589

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/rust/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ pub struct Resource<T: WasmResource> {
488488
/// drop a resource.
489489
///
490490
/// This generally is implemented by generated code, not user-facing code.
491+
#[allow(clippy::missing_safety_doc)]
491492
pub unsafe trait WasmResource {
492493
/// Invokes the `[resource-drop]...` intrinsic.
493494
unsafe fn drop(handle: u32);

0 commit comments

Comments
 (0)