Skip to content

Commit

Permalink
Merge pull request #92 from TAKOYAKING8/fix_scope_borrow_ref
Browse files Browse the repository at this point in the history
fix typo of "scope/borrow/ref"
  • Loading branch information
dalance committed Sep 15, 2021
2 parents 81bace7 + f8aaec3 commit 1b7440a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scope/borrow/ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fn main() {
{
// Destructure `mutable_tuple` to change the value of `last`.
// `mutable_ tuple`をデストラクトして、`last`の値を変更
// `mutable_tuple`をデストラクトして、`last`の値を変更
let (_, ref mut last) = mutable_tuple;
*last = 2u32;
}
Expand Down

0 comments on commit 1b7440a

Please sign in to comment.