[rust-dev] String constans

Alexander Stavonin a.stavonin at gmail.com
Sun Apr 22 17:19:04 PDT 2012


Do you have a plan to adding string constans? Or are you proposing some
other way for creating string constants?

string_const.rs:3:18: 3:24 error: string constants are not supported
string_const.rs:3 const NAME: str = "sting";
                                    ^~~~~~
error: aborting due to previous errors
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20120423/61ed1f3e/attachment.html>


More information about the Rust-dev mailing list