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
Summary:
If `A` and `B` represent the same starlark type, `A::Canonical == B::Canonical`. For example `String::Canonical == <&str>::Canonical`.
This is useful with `ValueOfUnchecked::cast` in D59380757.
This diff unfortunately makes starlark API harder to use.
It would be better if we had [`associated_type_defaults`](rust-lang/rust#29661), but that won't happen soon.
Reviewed By: JakobDegen
Differential Revision: D59380699
fbshipit-source-id: 8b658203c2d46cd03ac722170ba3858d19eee001
0 commit comments