Files
rust/library/std/src
Jacob Pratt cc27e3f08b Rollup merge of #134593 - kornelski:less-unwrap, r=jhpratt
Less unwrap() in documentation

I think the common use of `.unwrap()` in examples makes it overrepresented, looking like a more typical way of error handling than it really is in real programs.

Therefore, this PR changes a bunch of examples to use different error handling methods, primarily the `?` operator. Additionally, `unwrap()` docs warn that it might abort the program.
2024-12-21 01:18:43 -05:00
..
2024-12-03 07:52:01 +01:00
2024-11-27 12:10:21 +00:00
2024-11-02 11:27:14 +01:00
2024-12-21 01:26:47 +00:00
2024-11-12 15:08:41 -06:00
2024-12-05 00:26:13 +00:00
2024-12-13 11:53:01 +01:00
2024-12-21 01:26:47 +00:00
2024-10-22 20:18:11 -04:00