Re: [PATCH v5] rust: str: Use `core::CStr`, remove the custom `CStr` implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> v3 -> v4:
> - Provide the `CStrExt` trait with `display()` method, which returns a
>   `CStrDisplay` wrapper with `Display` implementation. This addresses
>   the lack of `Display` implementation for `core::ffi::CStr`.
> - Provide `from_bytes_with_nul_unchecked_mut()` method in `CStrExt`,
>   which might be useful and is going to prevent manual, unsafe casts.
> - Fix a typo (s/preffered/prefered/).
> 
> v4 -> v5:
> - Keep the `test_cstr_display*` unit tests.

Please take a read of:

https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html

In particular, the bit about 24 hours, and the merge window.

Thanks
    Andrew

---
pw-bot: cr




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux