[rust-dev] Proposal to replace the `as` keyword with syntax

Thad Guidry thadguidry at gmail.com
Sun Mar 24 07:01:26 PDT 2013


That's similar to Type Casts in SQL languages... for instance PostgreSQL
can use AS or use 2 colons to assert the Type being cast:

CAST ( expression AS type )expression::type

-- 
-Thad
http://www.freebase.com/view/en/thad_guidry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20130324/5df23034/attachment.html>


More information about the Rust-dev mailing list