ModularM
Modular15mo ago
4 replies
Samuel Ibarra

What is the difference between fn(inout v: T) and fn(ref v: T) ?

Both work the same if the Origin is inferred for ref? What are the differences?
Was this page helpful?