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 /Adding a semicolon to the end of a line turns it into a statement.md | |
parent | 931eb0894e7cd3717f1218f0eb06382b11734c13 (diff) |
vault backup: 2025-08-04 08:46:49
Diffstat (limited to 'Adding a semicolon to the end of a line turns it into a statement.md')
-rw-r--r-- | Adding a semicolon to the end of a line turns it into a statement.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Adding a semicolon to the end of a line turns it into a statement.md b/Adding a semicolon to the end of a line turns it into a statement.md new file mode 100644 index 0000000..e9f4bf1 --- /dev/null +++ b/Adding a semicolon to the end of a line turns it into a statement.md @@ -0,0 +1,4 @@ +[[Rust]] +[[How to return from a function]] + +Any line that ends with a semicolon is a statement, thus it returns no value. A line ending without a semicolon is an expression that returns a value.
\ No newline at end of file |