primitive_types1 solution

This commit is contained in:
mo8it
2024-05-25 16:31:21 +02:00
parent 8d4145038d
commit 990c68efcb
3 changed files with 18 additions and 7 deletions
+4 -1
View File
@@ -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"