Open
Description
For example, suppose X
derefs, then &pat
takes X
and dereferences it. If the dereferenced value matches pattern pat
, it matches.
In other words, it extends &pattern
from only allowing dereferencing of &T
to allowing dereferencing of arbitrary T: Deref
.
Alternative is of course to introduce a seperate syntax for it.