1
Fork 0

rustdoc: several minor fixes

This commit is contained in:
mqy 2022-02-19 03:47:41 +08:00
parent b8c56fa8c3
commit 997492538b
4 changed files with 5 additions and 5 deletions

View file

@ -47,7 +47,7 @@ pub enum GeneratorState<Y, R> {
/// fn main() {
/// let mut generator = || {
/// yield 1;
/// return "foo"
/// "foo"
/// };
///
/// match Pin::new(&mut generator).resume(()) {