projects
/
web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6abf837
)
add missing semicolon
author
Ralf Jung
<post@ralfj.de>
Thu, 16 Jul 2020 09:56:36 +0000
(11:56 +0200)
committer
Ralf Jung
<post@ralfj.de>
Thu, 16 Jul 2020 09:56:36 +0000
(11:56 +0200)
personal/_posts/2020-07-15-unused-data.md
patch
|
blob
|
history
diff --git
a/personal/_posts/2020-07-15-unused-data.md
b/personal/_posts/2020-07-15-unused-data.md
index 5f4a77169ebd0ada3e0e17671423c77e591cc3c2..b9b51b1855fd1c8d6fa2df9c7300939fd544040b 100644
(file)
--- a/
personal/_posts/2020-07-15-unused-data.md
+++ b/
personal/_posts/2020-07-15-unused-data.md
@@
-55,7
+55,7
@@
That transformation can be used to turn our `example` function into the followin
{% highlight rust %}
fn example(b: bool, num: u32) -> i32 {
let mut acc = 0;
- let incr = if b { 42 } else { 23 }
+ let incr = if b { 42 } else { 23 }
;
for _i in 0..num {
acc += incr;
}