Pythagoras tree: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
m (→{{header|Rust}}: syntaxhighlight lang="rust") |
||
Line 1,987: | Line 1,987: | ||
=={{header|Rust}}== |
=={{header|Rust}}== |
||
Creates a [http://gist.githubusercontent.com/vvshard/833bd69acfa9160350cdbc9b57bbefe4/raw/pythagoras_tree.svg '''pythagoras_tree.svg file (12 levels)'''] that can be opened in a browser |
Creates a [http://gist.githubusercontent.com/vvshard/833bd69acfa9160350cdbc9b57bbefe4/raw/pythagoras_tree.svg '''pythagoras_tree.svg file (12 levels)'''] that can be opened in a browser |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="rust">/* add to file Cargo.toml: |
||
[dependencies] |
[dependencies] |
||
svg = "0.10.0" |
svg = "0.10.0" |