diff options
| author | mo8it <mo8it@proton.me> | 2024-05-25 16:31:21 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-05-25 16:31:21 +0200 |
| commit | 990c68efcba8e1e2b7f2d8c5b6c16885d3920010 (patch) | |
| tree | 1b9e739b4eabee99db3f076505924cb2c00cf977 /rustlings-macros | |
| parent | 8d4145038d8b1a2a31314669cc17dc42b1c8e616 (diff) | |
primitive_types1 solution
Diffstat (limited to 'rustlings-macros')
| -rw-r--r-- | rustlings-macros/info.toml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index 39fc5c4..59de7f2 100644 --- a/rustlings-macros/info.toml +++ b/rustlings-macros/info.toml @@ -234,7 +234,10 @@ hint = "No hints this time ;)" name = "primitive_types1" dir = "04_primitive_types" test = false -hint = "No hints this time ;)" +hint = """ +In Rust, a boolean can be negated using the operator `!` before it. +Example: `!true == false` +This also works with boolean variables.""" [[exercises]] name = "primitive_types2" |
