diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-10-02 11:46:13 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-10-08 16:30:13 +0800 |
| commit | e80d212f564aaa8a14509ad7c6c2c22c460497e0 (patch) | |
| tree | c26ed94ebb5b2809b01d857fac2126831e8e7848 /src/main.rs | |
| parent | 0a617e895ea10c3d397d2875c2534480d77037e9 (diff) | |
internal(image): put create() as associated function
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 0fa96b0..f926b00 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,7 @@ use std::path::Path; use java2flowchart::ast::parse; -use java2flowchart::image::create; +use java2flowchart::image::FlowChart; use java2flowchart::parser; fn main() { @@ -11,5 +11,5 @@ fn main() { println!("{:#?}", ast); - create(&ast, Path::new("output.png")); + FlowChart::create(&ast, Path::new("output.png")); } |
