diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-02 10:56:36 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-02 10:56:36 +0100 |
| commit | 7ecc00c036ae9380bafa80060dc35756195e9c1a (patch) | |
| tree | 9b4b911cc1df68b4a02de8a8e108a2760215eeac /examples/07-imports/output/rust/src/main.rs | |
| parent | 0568d7e77dbe004864e19a75a2216e233fbfad2b (diff) | |
Split native type example to example with/without custom config
Diffstat (limited to 'examples/07-imports/output/rust/src/main.rs')
| -rw-r--r-- | examples/07-imports/output/rust/src/main.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/07-imports/output/rust/src/main.rs b/examples/07-imports/output/rust/src/main.rs new file mode 100644 index 0000000..ee3d685 --- /dev/null +++ b/examples/07-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 }; +} |
