Skip to content

Commit

Permalink
Rollup merge of rust-lang#92063 - OverOrion:patch-1, r=jyn514
Browse files Browse the repository at this point in the history
docs: fix typo

Add missing `'s` to ` Let check it out.`
  • Loading branch information
matthiaskrgr authored Dec 18, 2021
2 parents e22aae0 + c53e819 commit 74c3ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/borrow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ where
/// clone_on_write.values.to_mut().push(3);
/// println!("clone_on_write = {:?}", clone_on_write.values);
///
/// // The data was mutated. Let check it out.
/// // The data was mutated. Let's check it out.
/// match clone_on_write {
/// Items { values: Cow::Owned(_) } => println!("clone_on_write contains owned data"),
/// _ => panic!("expect owned data"),
Expand Down

0 comments on commit 74c3ce9

Please sign in to comment.