User:Inthar/Code: Difference between revisions
| Line 4: | Line 4: | ||
# Using the command line, run <code>cargo init</code> in the new directory <code>billiard-scales</code>. | # Using the command line, run <code>cargo init</code> in the new directory <code>billiard-scales</code>. | ||
# Create or copy the following .rs files in <code>billiard-scales/src</code>. Copy the contents of the <code>Cargo.toml</code> provided into the new <code>Cargo.toml</code> | # Create or copy the following .rs files in <code>billiard-scales/src</code>. Copy the contents of the <code>Cargo.toml</code> provided into the new <code>Cargo.toml</code> | ||
# Run <code>cargo run --release</code>. | # Run <code>cargo run --release</code>. The script should notify you when it has finished running. | ||
# Open the output file <code>billiard_scales_mediawiki</code> for the result. | |||
=== planegeometry.rs === | === planegeometry.rs === | ||
<syntaxhighlight lang="rs"> | <syntaxhighlight lang="rs"> | ||