the.bay.news

Illegal impl block

The Rust Programming Language Forum
Illegal impl block
Can anyone explain why this impl is not allowed? I am trying to make it so I can call functions on my arrays and not have to iterate over it to call functions on the elements of the array. type Bufs<const N: usize> = [Buf; N]; impl<const N: usize> Bufs<N> { }

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.