fix: update enum.md

pull/1308/head
WB20230410002 1 year ago
parent 13f9efacd3
commit 724341f216

@ -41,6 +41,7 @@ fn main() {
}
fn print_suit(card: PokerSuit) {
// 需要在定义 enum PokerSuit 的上面添加上 #[derive(Debug)],否则会报 card 没有实现 Debug
println!("{:?}",card);
}
```

Loading…
Cancel
Save