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

2024-07-15 Thread Björn Roy Baron
On Monday, July 15th, 2024 at 17:46, Michal Rostecki wrote: > On 14.07.24 19:01, Björn Roy Baron wrote: > > On Sunday, July 14th, 2024 at 18:02, Michal Rostecki > > wrote: > > > >> `CStr` became a part of `core` library in Rust 1.75, therefore there is &

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

2024-07-14 Thread Björn Roy Baron
On Sunday, July 14th, 2024 at 18:02, Michal Rostecki wrote: > `CStr` became a part of `core` library in Rust 1.75, therefore there is > no need to keep the custom implementation. > > `core::CStr` behaves generally the same as the removed implementation, > with the following differences: > > -