Rust 1.21.0 发布,Mozilla 开发的系统编程语言

栏目: 软件资讯 · 发布时间: 8年前

内容简介:Rust 1.21.0 发布了。Rust 是一门由 Mozilla 开发的专注于安全性,速度和并发性的系统编程语言。 新功能介绍: 现在可以使用文字的静态引用: fn main() {     let x: &'static u32 = &0; } 宽松的路...

Rust 1.21.0 发布了。Rust 是一门由 Mozilla 开发的专注于安全性,速度和并发性的系统编程语言。

新功能介绍:

现在可以使用文字的静态引用

fn main() {
    let x: &'static u32 = &0;
}

宽松的路径语法Optional :: before < is now allowed in all contexts.

my_macro!(Vec<i32>::new); // Always worked
my_macro!(Vec::<i32>::new); // Now works

编译器:

详情请查看发布主页


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Looking For a Challenge

Looking For a Challenge

the University of Warsaw / the University of Warsaw / 2012-11 / 0

LOOKING FOR PROGRAMMING CHALLENGES? Then this book is for you! Whether it's the feeling of great satisfaction from solving a complex problem set, or the frustration of being unable to solve a task,......一起来看看 《Looking For a Challenge》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

html转js在线工具
html转js在线工具

html转js在线工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试