Skip to content

Commit e46a1a9

Browse files
committed
Fix translation.
1 parent ad857e2 commit e46a1a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1.6/ja/book/macros.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -939,8 +939,8 @@ assert_eq!(5, 3);
939939
<!-- `Result<T, E>`, and gives `T` if it’s a `Ok<T>`, and `return`s with the -->
940940
<!-- `Err(E)` if it’s that. Like this: -->
941941
`try!` はエラーハンドリングのために利用されています。
942-
`try!``Result<T, E>` を返す何らかの物を引数に取り、もし `Result<T, E>``Ok<T>` だった場合 `T`
943-
そうでなく `Err(E)` だった場合はそれを返します
942+
`try!``Result<T, E>` を返す何らかの物を引数に取り、もし `Result<T, E>``Ok<T>` だった場合 `T` を返し
943+
そうでなく `Err(E)` だった場合はそれを `return` します
944944
例えば以下のように利用します:
945945

946946
```rust,no_run

0 commit comments

Comments
 (0)