From: Ralf Jung Date: Thu, 9 Aug 2018 09:34:26 +0000 (+0200) Subject: typo X-Git-Url: https://git.ralfj.de/web.git/commitdiff_plain/b732b260e38f9031635e0d4536c512d18a984c67?ds=inline typo --- diff --git a/ralf/_posts/2018-08-07-stacked-borrows.md b/ralf/_posts/2018-08-07-stacked-borrows.md index bf9f9a6..65914ad 100644 --- 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 %} -fn demo5(x: &mut i32, y: usize) -> i32 { +fn demo5(x: &mut i32, y: usize) { *x = 42; foo(y); }