Merge pull request #318 from AsakusaRinne/patch-1

修复字符串练习中的失效链接
This commit is contained in:
Sunface 2022-11-07 08:28:20 +08:00 committed by GitHub
commit 9620bb18d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ fn move_ownership(s: String) {
`&str` 是[切片引用](https://course.rs/confonding/slice.html)类型( `&[u8]` ),指向一个合法的 UTF-8 字符序列,总之,`&str` 和 `String` 的关系类似于 `&[T]``Vec<T>`
如果大家想了解更多,可以看看[易混淆概念解析 - &str 和 String](https://course.rs/confonding/string.html)。
如果大家想了解更多,可以看看[易混淆概念解析 - &str 和 String](https://course.rs/difficulties/string.html)。
2. 🌟🌟
@ -204,4 +204,4 @@ fn main() {
### 常用方法(TODO)
关于 String 的常用方法练习,可以查看[这里](../std/String.md).
> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/collections/String.md)找到答案(在 solutions 路径下)
> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/collections/String.md)找到答案(在 solutions 路径下)