Skip to content

Commit

Permalink
🔧 Updated Code
Browse files Browse the repository at this point in the history
  • Loading branch information
nwrenger committed Dec 3, 2023
1 parent de07ec7 commit e6f0704
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,7 @@
<CodeBlock
class="w-full"
language="rust"
code={`
use console_utils::input::reveal;
fn main() {
reveal("Rust is awesome!", 0.1);
}`}
code={`use console_utils::input::reveal;\n\nfn main() {\n\t// Display "Rust is awesome!" with a time interval of 0.1 seconds between each character\n\treveal("Rust is awesome!", 0.1);\n}`}
></CodeBlock>
</div>
</div>

0 comments on commit e6f0704

Please sign in to comment.