diff options
| author | Tamir Duberstein <[email protected]> | 2024-11-20 11:46:00 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2025-01-13 22:45:30 +0000 |
| commit | c6340da3d254ee491fc113d4dc5566bea7bebdf3 (patch) | |
| tree | 1f4db50bc0ec0d45d7d70369b038663cf9d352ed /tools/net/ynl/pyynl/cli.py | |
| parent | rust: use derive(CoercePointee) on rustc >= 1.84.0 (diff) | |
| download | kernel-c6340da3d254ee491fc113d4dc5566bea7bebdf3.tar.gz kernel-c6340da3d254ee491fc113d4dc5566bea7bebdf3.zip | |
rust: arc: use `NonNull::new_unchecked`
There is no need to check (and panic on violations of) the safety
requirements on `ForeignOwnable` functions. Avoiding the check is
consistent with the implementation of `ForeignOwnable` for `Box`.
Reviewed-by: Alice Ryhl <[email protected]>
Reviewed-by: Andreas Hindborg <[email protected]>
Signed-off-by: Tamir Duberstein <[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
