Skip to content

Commit 17e03fa

Browse files
authored
Merge pull request #274 from minus3theta/master
Fix typo (imp -> impl)
2 parents 2e99be0 + ed2d269 commit 17e03fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

1.6/ja/book/unsized-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ impl Foo for &str {
5757
<!-- some point, there are some bugs to fix first) user-defined custom smart -->
5858
<!-- pointers, can use this `impl`. -->
5959
このように書いたとすると、このコードは [参照][ref] に対してのみ動作するようになり、他のポインタ型に対しては動作しないことになります。
60-
`imp for str` のように書くことで、すべてのポインタ、ユーザーの定義した独自のスマートポインタ(いくつかの点についてバグがあるので、それを先ずは直さなくてはなりませんが)もこの `impl` を利用可能になります。
60+
`impl for str` のように書くことで、すべてのポインタ、ユーザーの定義した独自のスマートポインタ(いくつかの点についてバグがあるので、それを先ずは直さなくてはなりませんが)もこの `impl` を利用可能になります。
6161

6262
[ref]: references-and-borrowing.html
6363

1.9/ja/book/unsized-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl Foo for &str {
5959
<!-- some point, there are some bugs to fix first) user-defined custom smart -->
6060
<!-- pointers, can use this `impl`. -->
6161
このように書いたとすると、このコードは [参照][ref] に対してのみ動作するようになり、他のポインタ型に対しては動作しないことになります。
62-
`imp for str` のように書くことで、すべてのポインタ、ユーザーの定義した独自のスマートポインタ(いくつかの点についてバグがあるので、それをまずは直さなくてはなりませんが)もこの `impl` を利用可能になります。
62+
`impl for str` のように書くことで、すべてのポインタ、ユーザーの定義した独自のスマートポインタ(いくつかの点についてバグがあるので、それをまずは直さなくてはなりませんが)もこの `impl` を利用可能になります。
6363

6464
[ref]: references-and-borrowing.html
6565

0 commit comments

Comments
 (0)