Re: [PATCH 1/3] rust: alloc: add Vec::truncate method

2025-03-15 Thread Benno Lossin
On Sat Mar 15, 2025 at 12:15 PM CET, Andrew Ballance wrote: > On Sat, Mar 15, 2025 at 10:09:26AM +, Benno Lossin wrote: >> On Sat Mar 15, 2025 at 3:42 AM CET, Andrew Ballance wrote: >> > implements the equivalent to the std's Vec::truncate >> > on the kernel's Vec type. >> > >> > Signed-off-by:

Re: [PATCH 1/3] rust: alloc: add Vec::truncate method

2025-03-15 Thread Danilo Krummrich
On Fri, Mar 14, 2025 at 09:42:33PM -0500, Andrew Ballance wrote: > implements the equivalent to the std's Vec::truncate > on the kernel's Vec type. > > Signed-off-by: Andrew Ballance > --- > rust/kernel/alloc/kvec.rs | 36 > 1 file changed, 36 insertions(+) >

Re: [PATCH 1/3] rust: alloc: add Vec::truncate method

2025-03-15 Thread Andrew Ballance
On Sat, Mar 15, 2025 at 10:09:26AM +, Benno Lossin wrote: > On Sat Mar 15, 2025 at 3:42 AM CET, Andrew Ballance wrote: > > implements the equivalent to the std's Vec::truncate > > on the kernel's Vec type. > > > > Signed-off-by: Andrew Ballance > > --- > > rust/kernel/alloc/kvec.rs | 36 +

Re: [PATCH 1/3] rust: alloc: add Vec::truncate method

2025-03-15 Thread Benno Lossin
On Sat Mar 15, 2025 at 3:42 AM CET, Andrew Ballance wrote: > implements the equivalent to the std's Vec::truncate > on the kernel's Vec type. > > Signed-off-by: Andrew Ballance > --- > rust/kernel/alloc/kvec.rs | 36 > 1 file changed, 36 insertions(+) > > diff