projects
/
web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a6db9a6
)
typo
author
Ralf Jung
<post@ralfj.de>
Thu, 9 Aug 2018 09:34:26 +0000
(11:34 +0200)
committer
Ralf Jung
<post@ralfj.de>
Thu, 9 Aug 2018 09:34:26 +0000
(11:34 +0200)
ralf/_posts/2018-08-07-stacked-borrows.md
patch
|
blob
|
history
diff --git
a/ralf/_posts/2018-08-07-stacked-borrows.md
b/ralf/_posts/2018-08-07-stacked-borrows.md
index bf9f9a6d8fa726bf76343513a7072ade521c9e6b..65914ad3de9ae21fafec38c6d9e50ec525f6382f 100644
(file)
--- a/
ralf/_posts/2018-08-07-stacked-borrows.md
+++ b/
ralf/_posts/2018-08-07-stacked-borrows.md
@@
-239,7
+239,7
@@
It is also needed to explain why we can put the [`noalias` parameter attribute](
Consider the following code:
{% highlight rust %}
Consider the following code:
{% highlight rust %}
-fn demo5(x: &mut i32, y: usize)
-> i32
{
+fn demo5(x: &mut i32, y: usize) {
*x = 42;
foo(y);
}
*x = 42;
foo(y);
}