Merge pull request #1437 from MagicalBridge/feature/optimization-0629

fix: add a blank line to improve the reading experience
pull/1465/head
Sunface 3 months ago committed by GitHub
commit bc9f1ec04a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -399,6 +399,7 @@ string_replace_range = "I like Rust!"
1、 `pop` —— 删除并返回字符串的最后一个字符
**该方法是直接操作原来的字符串**。但是存在返回值,其返回值是一个 `Option` 类型,如果字符串为空,则返回 `None`
示例代码如下:
```rust

Loading…
Cancel
Save