ethandmd / reedos

rust riscv minimal os
2 stars 6 forks source link

Kbox::new should require ?Sized #29

Closed rileyshahar closed 1 year ago

rileyshahar commented 1 year ago

Right now Kbox::new doesn't allow T: ?Sized, so even though Kbox is ?Sized, you won't be able to call Kbox::new with a !Sized type.

ethandmd commented 1 year ago

@nihilistkitten Thanks for catching this!