增加 Rust难点攻关 专题

pull/799/head
sunface 3 years ago
parent b20dac1554
commit b15d61476f

@ -20,7 +20,7 @@
- [下载依赖太慢了?](first-try/slowly-downloading.md) - [下载依赖太慢了?](first-try/slowly-downloading.md)
- [避免从入门到放弃](first-try/sth-you-should-not-do.md) - [避免从入门到放弃](first-try/sth-you-should-not-do.md)
# Rust语言特性 # Rust语言学习
--- ---
- [Rust 基础入门](basic/intro.md) - [Rust 基础入门](basic/intro.md)
- [变量绑定与解构](basic/variable.md) - [变量绑定与解构](basic/variable.md)
@ -103,14 +103,6 @@
<!-- - [SIMD todo](advance/simd.md) --> <!-- - [SIMD todo](advance/simd.md) -->
<!-- - [高阶特征约束(HRTB) todo](advance/hrtb.md) --> <!-- - [高阶特征约束(HRTB) todo](advance/hrtb.md) -->
- [易混淆概念解析](advance/confonding/intro.md)
- [切片和切片引用](advance/confonding/slice.md)
- [Eq 和 PartialEq](advance/confonding/eq.md)
- [String、&str 和 str todo](advance/confonding/string.md)
- [裸指针、引用和智能指针 todo](advance/confonding/pointer.md)
- [作用域、生命周期和 NLL todo](advance/confonding/lifetime.md)
- [move、Copy 和 Clone todo](advance/confonding/move-copy.md)
- [Rust 异步编程](async-rust/intro.md) - [Rust 异步编程](async-rust/intro.md)
- [async/await 异步编程](async-rust/async/intro.md) - [async/await 异步编程](async-rust/async/intro.md)
- [async 编程入门](async-rust/async/getting-started.md) - [async 编程入门](async-rust/async/getting-started.md)
@ -134,6 +126,17 @@
- [优雅的关闭](async-rust/tokio/graceful-shutdown.md) - [优雅的关闭](async-rust/tokio/graceful-shutdown.md)
- [异步跟同步共存](async-rust/tokio/bridging-with-sync.md) - [异步跟同步共存](async-rust/tokio/bridging-with-sync.md)
- [Rust 难点攻关](difficulties/intro.md)
- [切片和切片引用](difficulties/slice.md)
- [Eq 和 PartialEq](difficulties/eq.md)
- [String、&str 和 str TODO](difficulties/string.md)
- [作用域、生命周期和 NLL TODO](difficulties/lifetime.md)
- [move、Copy 和 Clone TODO](difficulties/move-copy.md)
- [裸指针、引用和智能指针 TODO](advance/difficulties/pointer.md)
# 常用工具链 # 常用工具链
--- ---
- [自动化测试](test/intro.md) - [自动化测试](test/intro.md)

@ -1,5 +0,0 @@
# 易混淆概念解析
Rust 之所以难,有部分原因在于一些概念对于刚入门的同学来说不仅难以理解,还容易混淆。
对于难以理解这一点,我们在之前的章节已经讲解的差不多。本章就来看看,那些容易混淆的概念该如何进行区分,例如 `String`、`str` 和 `&str`

@ -1 +0,0 @@
# 裸指针、引用和智能指针 todo

@ -0,0 +1 @@
# 裸指针、引用和智能指针 TODO

@ -0,0 +1,14 @@
# Rust 难点攻关
当大家一路看到这里时,我敢说 90% 的人还是云里雾里的,例如你能说清楚:
- 切片和切片引用的区别吗?
- 各种字符串之间的区别吗?
- 各种指针、引用的区别吗?
- 所有权转移、拷贝、克隆的区别吗?
以及到底该用它们之中哪一个吗?
如果不行,就跟随我一起来看看吧,本章的目标就是帮大家彻底理清这些概念,为后面的进一步学习和实战打好坚实的基础。

@ -0,0 +1,3 @@
# 裸指针、引用和智能指针 todo
https://blog.csdn.net/kk3909/article/details/106743025
Loading…
Cancel
Save