Skip to content

Commit 121eba4

Browse files
committed
Update Trait Object (1.9)
- Update the contents. - Change the comment style to use the same style to other pages.
1 parent 32cc4ab commit 121eba4

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

1.9/ja/book/trait-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ static Foo_for_String_vtable: FooVtable = FooVtable {
337337

338338
<!-- Suppose we’ve got some values that implement `Foo`. The explicit form of -->
339339
<!-- construction and use of `Foo` trait objects might look a bit like (ignoring the -->
340-
<!-- type mismatches: they’re all just pointers anyway): -->
340+
<!-- type mismatches: they’re all pointers anyway): -->
341341
例えば `Foo` を実装する値を幾つか得たとします。
342342
`Foo` トレイトオブジェクトを作る、あるいは使う時のコードを明示的に書いたものは少しだけ似ているでしょう。
343343
(型の違いを無視すればですが、どのみちただのポインタになります)

diff-1.6.0..1.9.0/src/doc/book/trait-objects.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)