Example of Rust code

David Nadlinger see at klickverbot.at
Sat Aug 11 06:23:12 PDT 2012


On Saturday, 11 August 2012 at 11:47:43 UTC, simendsjo wrote:
> If I'm not mistaken, scope will enforce that the reference 
> never escapes the function.
> So you cannot pass it to other functions that might keep it's 
> reference or store it in any way.

It _should_ enforce that, but its implementation is lacking at 
this point.

David


More information about the Digitalmars-d mailing list