mirror of https://github.com/sunface/rust-course
the `msg` type here is `Message`, don't need `unwrap()`, then wrapping `msg.content` in `Some`, return to fit the `filter_map`'s trait bound: Option<T>pull/1045/head
parent
91c3117c2b
commit
f62aca2a77
Loading…
Reference in new issue