Skip to content

Commit 6fd2d1f

Browse files
committed
Fix links in ch06-01
1 parent 15c9a4b commit 6fd2d1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ch06-01-defining-an-enum.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ variant:
246246
私たちが定義し、使用したのと全く同じenumと列挙子がありますが、アドレスデータを二種の異なる構造体の形で列挙子に埋め込み、
247247
この構造体は各列挙子用に異なる形で定義されています。
248248

249-
[IpAddr]: ../../std/net/enum.IpAddr.html
249+
[IpAddr]: https://doc.rust-lang.org/std/net/enum.IpAddr.html
250250

251251
<!--
252252
```rust
@@ -531,7 +531,7 @@ as follows:
531531
値が存在するか不在かという概念をコード化するenumならあります。このenumが`Option<T>`で、
532532
以下のように[標準ライブラリに定義][option]されています。
533533

534-
[option]: ../../std/option/enum.Option.html
534+
[option]: https://doc.rust-lang.org/std/option/enum.Option.html
535535

536536
```rust
537537
enum Option<T> {
@@ -686,7 +686,7 @@ the methods on `Option<T>` will be extremely useful in your journey with Rust.
686686
[ドキュメント][docs]でそれらを確認できます。`Option<T>`のメソッドに馴染むと、
687687
Rustの旅が極めて有益になるでしょう。
688688

689-
[docs]: ../../std/option/enum.Option.html
689+
[docs]: https://doc.rust-lang.org/std/option/enum.Option.html
690690

691691
<!--
692692
In general, in order to use an `Option<T>` value, you want to have code that

0 commit comments

Comments
 (0)