エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Pre-RFC: Catching Functions
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Pre-RFC: Catching Functions
This is an alternative design to Ok wrapping, which I am very excited about. Similar ideas have b... This is an alternative design to Ok wrapping, which I am very excited about. Similar ideas have been floated in the past. Each subheading can be separated: The throw keyword The throw keyword has the semantics: throw $expr <=> return Err(From::from($expr)) This makes ? sugar for: match expr { Ok(x) => x, Err(e) => throw e, } The throw keyword is added mainly for assisting in raising errors, replac

