rust笔记之函数
摘要:3 函数 1 发散函数 不暴露异常的函数 2 main函数 通过stdenvargs获取main函数的参数 3 const函数 编译器执行#![feature(const_fn)] 4 函数递归 支持递归使用 在使用const函数的时候可能报错,需要在nightly模式下运行,切换下模式 rustu
阅读全文
posted @ 2021-04-12 22:45
posted @ 2021-04-12 22:45
posted @ 2021-04-11 11:27
posted @ 2021-04-05 13:28
posted @ 2019-09-13 11:57
posted @ 2019-09-13 11:14