Files
rust/library/core
Jonathan Brouwer d94d079177 Rollup merge of #153197 - sorairolake:change-doctests-style, r=joboet
style: Update doctests for `TryFrom<integer> for bool` and `From<bool> for float`

These doctests are attached to the `TryFrom` trait and the `From` trait. Although `From<U> for T` implies `Into<T> for U` and `TryFrom<U> for T` implies `TryInto<T> for U`, I think it is easier to understand to use the `try_from`/`from` method directly instead of the `try_into`/`into` method.
2026-02-28 19:55:52 +01:00
..
2025-11-16 23:35:37 -05:00