fix: 例子这样合理

pull/150/head
chenxuuu 3 years ago committed by GitHub
parent d0d3e36b26
commit e49cba7379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -127,7 +127,7 @@ fn build_user(email: String, username: String) -> User {
println!("{}", user1.active); println!("{}", user1.active);
// 下面这行会报错 // 下面这行会报错
//println!("{}", user1); //println!("{}", user1.username);
``` ```
## 结构体的内存排列 ## 结构体的内存排列

Loading…
Cancel
Save