diff options
| author | Tamir Duberstein <[email protected]> | 2024-11-20 11:46:01 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2025-01-13 22:45:30 +0000 |
| commit | aa991a2a819535a0014e1159b455b64e3db87510 (patch) | |
| tree | adeb52ecfd462a58e5e46066197884217840f856 /tools/net/ynl/pyynl/cli.py | |
| parent | rust: arc: use `NonNull::new_unchecked` (diff) | |
| download | kernel-aa991a2a819535a0014e1159b455b64e3db87510.tar.gz kernel-aa991a2a819535a0014e1159b455b64e3db87510.zip | |
rust: types: avoid `as` casts
Replace `as` casts with `cast{,_mut}` calls which are a bit safer.
In one instance, remove an unnecessary `as` cast without replacement.
Reviewed-by: Alice Ryhl <[email protected]>
Reviewed-by: Andreas Hindborg <[email protected]>
Signed-off-by: Tamir Duberstein <[email protected]>
Acked-by: Danilo Krummrich <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions
