3

Is there a way of taking a pointer of a lazy phoenix value / ref ? If so how ?

Hassan Syed
  • 20,075
  • 11
  • 87
  • 171

1 Answers1

4

Phoenix placeholders overload operator&(), therefore a simple &_1 should do the trick (see Phoenix docs here).

hkaiser
  • 11,403
  • 1
  • 30
  • 35