diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-06-30 21:23:51 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-06-30 21:23:51 +0100 |
| commit | d0c6cc5511f5b953ca1a4184e6c7b903e4bb7450 (patch) | |
| tree | 5ed9f5bc8227f42fe6076779135f85794132537b /examples/06-imports/output/rust/src/main.rs | |
| parent | e69e58c00f1f7e64dc0bcfb1694564c6f4e8486a (diff) | |
Fully qualify Rust type expressions
Diffstat (limited to 'examples/06-imports/output/rust/src/main.rs')
| -rw-r--r-- | examples/06-imports/output/rust/src/main.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/06-imports/output/rust/src/main.rs b/examples/06-imports/output/rust/src/main.rs new file mode 100644 index 0000000..ee3d685 --- /dev/null +++ b/examples/06-imports/output/rust/src/main.rs @@ -0,0 +1,11 @@ +mod line; +mod point; + +use line::Line; +use point::Point; + +fn main() { + let start = Point { x: 10, y: 25 }; + let end = Point { x: 10, y: 25 }; + let line = Line { start, end }; +} |
