diff options
author | Jasper Ras <jras@hostnet.nl> | 2025-08-04 08:46:49 +0200 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2025-08-04 08:46:49 +0200 |
commit | 00a52e3d631df0a7610f4f17a9bd6d60205239fd (patch) | |
tree | 99aac9c4c78c2ec693d7800a946fd6da7a0ea597 /If is not a statement but an expression.md | |
parent | 931eb0894e7cd3717f1218f0eb06382b11734c13 (diff) |
vault backup: 2025-08-04 08:46:49
Diffstat (limited to 'If is not a statement but an expression.md')
-rw-r--r-- | If is not a statement but an expression.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/If is not a statement but an expression.md b/If is not a statement but an expression.md new file mode 100644 index 0000000..4ece748 --- /dev/null +++ b/If is not a statement but an expression.md @@ -0,0 +1,4 @@ +[[Rust]] +[[Statement vs expression]] + +An if statement is not a statement in rust! It is an expression! Thus we can use it in an assignment for example. |