fix: unnecessary space

This commit is contained in:
katopz
2022-10-11 09:47:49 +07:00
parent de36f5cfb0
commit 81ea842fe7
6 changed files with 9 additions and 9 deletions

View File

@ -3,7 +3,7 @@
### 字符
1. 🌟
```rust,editable
// 修改2处 `assert_eq!` 让代码工作
// 修改2处 `assert_eq!` 让代码工作
use std::mem::size_of_val;
fn main() {
@ -19,7 +19,7 @@ fn main() {
2. 🌟
```rust,editable
// 修改一行让代码正常打印
// 修改一行让代码正常打印
fn main() {
let c1 = "中";
print_char(c1);

View File

@ -34,7 +34,7 @@ fn main() {
```rust,editable
// 修改 `assert_eq!` 让代码工作
// 修改 `assert_eq!` 让代码工作
fn main() {
let x = 5;
assert_eq!("u32".to_string(), type_of(&x));

View File

@ -205,7 +205,7 @@ pub fn add_three(x: i32) -> Option<i32> {
// in lib.rs
mod a {
/// Add four to the given value and return a [`Option`] type
/// Add four to the given value and return a [`Option`] type
/// [`crate::MySpecialFormatter`]
pub fn add_four(x: i32) -> Option<i32> {
Some(x + 4)