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/06-imports/output/rust/src | |
| parent | 0568d7e77dbe004864e19a75a2216e233fbfad2b (diff) | |
Split native type example to example with/without custom config
Diffstat (limited to 'examples/06-imports/output/rust/src')
| -rw-r--r-- | examples/06-imports/output/rust/src/line.rs | 5 | ||||
| -rw-r--r-- | examples/06-imports/output/rust/src/main.rs | 11 | ||||
| -rw-r--r-- | examples/06-imports/output/rust/src/point.rs | 5 |
3 files changed, 0 insertions, 21 deletions
diff --git a/examples/06-imports/output/rust/src/line.rs b/examples/06-imports/output/rust/src/line.rs deleted file mode 100644 index c2940f5..0000000 --- a/examples/06-imports/output/rust/src/line.rs +++ /dev/null @@ -1,5 +0,0 @@ -/// A straight line from one point to another. -pub struct Line { - pub start: crate::point::Point, - pub end: crate::point::Point, -} diff --git a/examples/06-imports/output/rust/src/main.rs b/examples/06-imports/output/rust/src/main.rs deleted file mode 100644 index ee3d685..0000000 --- a/examples/06-imports/output/rust/src/main.rs +++ /dev/null @@ -1,11 +0,0 @@ -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 }; -} diff --git a/examples/06-imports/output/rust/src/point.rs b/examples/06-imports/output/rust/src/point.rs deleted file mode 100644 index 5fb5592..0000000 --- a/examples/06-imports/output/rust/src/point.rs +++ /dev/null @@ -1,5 +0,0 @@ -/// A 2D point. -pub struct Point { - pub x: i32, - pub y: i32, -} |
