diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2025-10-23 15:22:23 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2025-10-23 17:59:57 -0400 |
| commit | 8de628dc8055e1d812fdf326e4a6f74ce11a283d (patch) | |
| tree | 6f07bb35766d19dbc11883197460d91aa4cc22f8 /doc | |
| parent | c2bce540f93aba77ddf89c7931a63b4e7108e466 (diff) | |
ZJIT: s/as_usize/to_usize/ to comply with rust API guidelines
When the name is `as_*`, the guideline expects the return type to be a
reference type. Also, it's good to have contrast in the naming from
the more dangerous `as usize` cast `IntoUsize` is meant to be preferred
over.
See: https://rust-lang.github.io/api-guidelines/naming.html
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
