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
Disadvantages
Methods and traits only available via dereferencing are not taken into account when bounds checking, so generic programming with data structures using this pattern can get complex (see the Borrow and AsRef traits, etc.).
why method and traits only available via dereferencing are not taken into account when bounds checking ?
The text was updated successfully, but these errors were encountered:
simonsan
changed the title
There is a statement that I don’t understand in "Collections are smart pointers"
Rephrase statement in Deref: "Collections are smart pointers"
Apr 8, 2023
Disadvantages
Methods and traits only available via dereferencing are not taken into account when bounds checking, so generic programming with data structures using this pattern can get complex (see the Borrow and AsRef traits, etc.).
why method and traits only available via dereferencing are not taken into account when bounds checking ?
The text was updated successfully, but these errors were encountered: