Rollup merge of #112620 - AntoniosBarotsis:master, r=Nilstrieb

Fix small typo

Fixes a small typo in the [`Successors`](https://doc.rust-lang.org/std/iter/struct.Successors.html) documentation.
This commit is contained in:
Matthias Krüger 2023-06-14 18:10:32 +02:00 committed by GitHub
commit 3616388139
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ where
Successors { next: first, succ }
}
/// An new iterator where each successive item is computed based on the preceding one.
/// A new iterator where each successive item is computed based on the preceding one.
///
/// This `struct` is created by the [`iter::successors()`] function.
/// See its documentation for more.