Comments (6)
Rust 的集合类型不能直接进行循环
https://github.com/sunface/rust-course/blob/main/book/contents/first-try/hello-world.md?plain=1#L46但是,去掉
iter
也可以编译运行的。for region in regions { println!("{}", ®ion); }
这个在迭代器章节的开头有讲,是因为for
隐式地将regions
转换成迭代器
from rust-course.
深入生命周期
71行,这里的因果关系貌似颠倒了?应该是返回值的生命周期由入参的生命周期决定。
125行,没读懂无解生命周期与普通生命周期的区别
160行,为什么一个类型存在生命周期,我理解生命周期只存在于引用中,所以这里拿一个类型和一个引用的生命周期比较,有点不太理解
认识生命周期
517行那一段觉得还可以展开讲一下,“引用”、“被引用”这里有一点点读不懂
特征对象
特征对象的限制这个部分感觉讲得不是很清楚,294行那一段
from rust-course.
Rust 的集合类型不能直接进行循环
https://github.com/sunface/rust-course/blob/main/book/contents/first-try/hello-world.md?plain=1#L46
但是,去掉 iter
也可以编译运行的。
for region in regions {
println!("{}", ®ion);
}
from rust-course.
https://course.rs/basic/base-type/index.html
https://github.com/sunface/rust-course/blob/main/book/contents/basic/base-type/index.md
元类型
译为 单元类型
是否更好一些?
from rust-course.
https://course.rs/basic/base-type/index.html
https://github.com/sunface/rust-course/blob/main/book/contents/basic/base-type/index.md
元类型
译为单元类型
是否更好一些?
我很认同,因为元类型其实会跟meta type
冲突,兄弟你可以去讨论区 开个讨论帖,大家一起讨论下
from rust-course.
我先关闭issue了,因为该issue是引导贴,建议和讨论请移步到Discussions板块
from rust-course.
Related Issues (20)
- 查找标准库的链接失效了
- course.rs 打开慢 HOT 3
- 【关于版权】是否可以摘要该教程+少数个人理解作为笔记发布于个人网站 HOT 3
- 关于字符的介绍可以再补点
- 网站样式有问题,导航栏收不起来 HOT 2
- Consistent 'Cannot read properties of undefined' Error in Rust Code Samples.
- 闭包的课后习题链接错误
- 学习引用与借用的时候,有一点搞不明白
- Links of `practice.rs` are always redirect to `https://practice.course.rs/why-exercise.html` HOT 2
- 入口链接 404 HOT 11
- 能写一个meson network的机刷脚本吗?谢谢 HOT 3
- 我是来给⭐的 HOT 2
- "practice-zh.course.rs"被误命名 HOT 2
- 2.2.3 语句 纠错
- how to read this on e-ink devices HOT 1
- 可以对文件夹和文件名按照顺序加个001-002-003的前缀吗 HOT 2
- 練習書無法編釋println!會報Playground Communication: timeout
- 2.6.4 章节中 “使用下划线开头忽略未使用的变量” 一小节代码示例疑似错误 HOT 1
- 我最喜歡的評論區 403 API fetch failed HOT 3
- 打包了一个apk版本,分享给大家。(安全由自己把控)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-course.