diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-03 14:25:17 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-03 14:25:17 +0100 |
| commit | 98ca09b7b1ff3b82e3bb4de728417b176d56d4e7 (patch) | |
| tree | 66c2c90f0415a5d482bfdc77b3a3a5cef71a5312 /examples/02-sum/output/rust/src | |
| parent | f70794a17a357c93014059f23db53fae4fcc578c (diff) | |
Qualify global paths
Diffstat (limited to 'examples/02-sum/output/rust/src')
| -rw-r--r-- | examples/02-sum/output/rust/src/shapes.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/02-sum/output/rust/src/shapes.rs b/examples/02-sum/output/rust/src/shapes.rs index 586c7c0..958db0a 100644 --- a/examples/02-sum/output/rust/src/shapes.rs +++ b/examples/02-sum/output/rust/src/shapes.rs @@ -7,11 +7,11 @@ pub enum Shape { } pub struct Rectangle { - pub width: i32, - pub height: i32, + pub width: ::core::primitive::i32, + pub height: ::core::primitive::i32, } pub struct Triangle { - pub width: i32, - pub height: i32, + pub width: ::core::primitive::i32, + pub height: ::core::primitive::i32, } |
