Skip to content

Commit bc93de7

Browse files
authored
Merge pull request #96 from TAKOYAKING8/fix_error_option_unwrap
fix typo of "error/option_unwrap"
2 parents 82bf81c + 081b0eb commit bc93de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error/option_unwrap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fn give_commoner(gift: Option<&str>) {
6464
// 温室育ちのお姫様はヘビを見ると`panic`します。
6565
fn give_princess(gift: Option<&str>) {
6666
// `unwrap` returns a `panic` when it receives a `None`.
67-
// `unwrap`を使用すると値が`None`だった際に`panic`を返します。
67+
// `unwrap`を使用すると値が`None`だった際に`panic`を返します。
6868
let inside = gift.unwrap();
6969
if inside == "snake" { panic!("AAAaaaaa!!!!"); }
7070

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