You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a first time rust learner, after the as_ref_mut.rs lesson, I was left curious whyAsRef or AsMut are valuable tools. Typically I look for a hint to provide these answers, however the hint is pretty lacking here:
Feature Request: Please provide a more elaborate explanation as to whyAsRef or AsMut are so valueable, and why I would need to use them. Additionally, perhaps provide more unit tests also showcasing why I would want to use these two impls/methods.
(Just finished rustlings and really appreciate the work everyone has done on it! 🎉 💯 )
The text was updated successfully, but these errors were encountered:
As a first time rust learner, after the
as_ref_mut.rs
lesson, I was left curious whyAsRef
orAsMut
are valuable tools. Typically I look for a hint to provide these answers, however the hint is pretty lacking here:Feature Request: Please provide a more elaborate explanation as to why
AsRef
orAsMut
are so valueable, and why I would need to use them. Additionally, perhaps provide more unit tests also showcasing why I would want to use these twoimpls
/methods.(Just finished rustlings and really appreciate the work everyone has done on it! 🎉 💯 )
The text was updated successfully, but these errors were encountered: