Skip to content

Commit eccebfc

Browse files
committed
fix: fix typo in option page.
1 parent baf7bf0 commit eccebfc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/std/option.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ <h1 id="option"><a class="header" href="#option"><code>Option</code></a></h1>
206206
println!(&quot;{:?} unwraps to {:?}&quot;, optional_float, optional_float.unwrap());
207207

208208
// Unwrapping a `None` variant will `panic!`
209-
// `None`をアンラップしようとすると`panic!`
209+
// `None`をアンラップしようとすると`panic!`
210210
println!(&quot;{:?} unwraps to {:?}&quot;, none, none.unwrap());
211211
}</code></pre></pre>
212212

src-old/std/option/option.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ fn main() {
3333
// `Some`をアンラップすると中の値を取得できる。
3434
println!("{:?} unwraps to {:?}", optional_float, optional_float.unwrap());
3535

36-
// `None`をアンラップしようとすると`panic!`
36+
// `None`をアンラップしようとすると`panic!`
3737
println!("{:?} unwraps to {:?}", none, none.unwrap());
3838
}

src/std/option.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ fn main() {
6262
println!("{:?} unwraps to {:?}", optional_float, optional_float.unwrap());
6363
6464
// Unwrapping a `None` variant will `panic!`
65-
// `None`をアンラップしようとすると`panic!`
65+
// `None`をアンラップしようとすると`panic!`
6666
println!("{:?} unwraps to {:?}", none, none.unwrap());
6767
}
6868
```

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy