sunface / rust-by-practice

Learning Rust By Practice, narrowing the gap between beginner and skilled-dev through challenging examples, exercises and projects.

Home Page:https://practice.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`&dyn and Box<dyn>` is to easy to solve naively missing its point

skaunov opened this issue · comments

Idk if this is intentional, but I would point out that second blank in https://practice.rs/generics-traits/trait-object.html#dyn-and-boxdyn runs to "Success!" when filled just with &u8. Should we amend the exercise to direct student to the correct solution?