修复字符串练习中的失效链接

This commit is contained in:
Rinne 2022-10-11 19:44:20 +08:00 committed by GitHub
parent 80efefae9e
commit bdf79e72c4
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 路径下)