rust/library/core/src/str
Eduardo Sánchez Muñoz 9c7c232a50 Improve FromStr example
The `from_str` implementation from the example had an `unwrap` that would make it panic on invalid input strings. Instead of panicking, it nows returns an error to better reflect the intented behavior of the `FromStr` trait.
2022-10-02 11:32:56 +02:00
..
converts.rs Allow some internal instability 2022-05-26 13:00:14 +04:00
count.rs Make some usize-typed masks definition agnostic to the size of usize 2022-04-15 17:04:59 +02:00
error.rs remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
iter.rs Rollup merge of #96008 - fmease:warn-on-useless-doc-hidden-on-assoc-impl-items, r=lcnr 2022-05-09 18:45:36 +02:00
lossy.rs Expose Utf8Lossy as Utf8Chunks 2022-08-20 12:49:20 -04:00
mod.rs remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
pattern.rs Add char array without ref Pattern impl 2021-07-28 16:13:46 -05:00
traits.rs Improve FromStr example 2022-10-02 11:32:56 +02:00
validations.rs Replace most uses of pointer::offset with add and sub 2022-08-21 02:21:41 +04:00