diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-09-04 09:17:09 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-09-04 09:17:09 +0100 |
| commit | 483caabcb688e71eaadf9ee93fca52483a9ea06d (patch) | |
| tree | f9a976cc00b942a1915c2c74ba025a1b12593043 /examples/09-list/output/rust/src | |
| parent | c8749de4b3677f5db1c78eb5ec6818d648f2f6e1 (diff) | |
Reorder examples
Diffstat (limited to 'examples/09-list/output/rust/src')
| -rw-r--r-- | examples/09-list/output/rust/src/lib.rs | 16 | ||||
| -rw-r--r-- | examples/09-list/output/rust/src/point.rs | 12 |
2 files changed, 0 insertions, 28 deletions
diff --git a/examples/09-list/output/rust/src/lib.rs b/examples/09-list/output/rust/src/lib.rs deleted file mode 100644 index 907ab8b..0000000 --- a/examples/09-list/output/rust/src/lib.rs +++ /dev/null @@ -1,16 +0,0 @@ -mod point; - -#[cfg(test)] -mod test { - use super::point::{Path, Point}; - - #[test] - fn can_create_path_directly() { - let path: Path = Path { - points: vec![ - Point { x: 10, y: 25 }, - Point { x: 25, y: 10 } - ], - }; - } -} diff --git a/examples/09-list/output/rust/src/point.rs b/examples/09-list/output/rust/src/point.rs deleted file mode 100644 index 7f23478..0000000 --- a/examples/09-list/output/rust/src/point.rs +++ /dev/null @@ -1,12 +0,0 @@ -// Generated by hobgoblin. - -#[derive(Clone, Debug, PartialEq)] -pub struct Path { - pub points: ::std::vec::Vec::<crate::point::Point>, -} - -#[derive(Clone, Debug, PartialEq)] -pub struct Point { - pub x: ::core::primitive::i32, - pub y: ::core::primitive::i32, -} |
