aboutsummaryrefslogtreecommitdiff
path: root/examples/resource-user-struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/resource-user-struct.rs')
-rw-r--r--examples/resource-user-struct.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/resource-user-struct.rs b/examples/resource-user-struct.rs
index 132aa349..dbda9a3f 100644
--- a/examples/resource-user-struct.rs
+++ b/examples/resource-user-struct.rs
@@ -19,6 +19,7 @@ mod app {
}
// Should not collide with the struct above
+ #[allow(dead_code)]
struct Resources2 {
// A resource
shared: u32,