Skip to content

Commit 67e38e3

Browse files
committed
ci: generate pages at 24c77d7 [ci skip]
1 parent 24c77d7 commit 67e38e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/1.6/book/traits.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ <h1 id='トレイト実装のルール' class='section-header'><a href='#トレ
580580
extra functionality to `File`s, for doing file I/O. By default, a `File`
581581
won’t have its methods: -->
582582

583-
<p>ここまでくると世紀末感が漂いますが、手に負えなくなることを防ぐためにトレイトの実装周りには2つの制限が設けられています。第1に、あなたのスコープ内で定義されていないトレイトは適用されません。例えば、標準ライブラリは <code>File</code> にI/O機能を追加するための <code>Write</code> トレイトを提供しています。デフォルトでは、 <code>File</code><code>Writes</code> で定義されるメソッド群を持っていません。</p>
583+
<p>ここまでくると世紀末感が漂いますが、手に負えなくなることを防ぐためにトレイトの実装周りには2つの制限が設けられています。第1に、あなたのスコープ内で定義されていないトレイトは適用されません。例えば、標準ライブラリは <code>File</code> にI/O機能を追加するための <code>Write</code> トレイトを提供しています。デフォルトでは、 <code>File</code><code>Write</code> で定義されるメソッド群を持っていません。</p>
584584

585585
<span class='rusttest'>fn main() {
586586
let mut f = std::fs::File::open(&quot;foo.txt&quot;).expect(&quot;Couldn’t open foo.txt&quot;);

0 commit comments

Comments
 (0)