Rust:尽信书则不如无书
每条路原本都是错的,我们不过是修路的人…Rust官网Rust程序设计语言的数据类型章节Invalid Array Element Access中提到:What happens if you try to access an element of an array that is past the end of the array? Say you change the example to the following code, which will compile but exit with.
原创
2020-08-24 20:53:34 ·
172 阅读 ·
0 评论