-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Improve wording of flatten()
docs
#79925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
📌 Commit 97cd55e has been approved by |
@@ -1332,7 +1332,7 @@ pub trait Iterator { | |||
/// assert_eq!(merged, "alphabetagamma"); | |||
/// ``` | |||
/// | |||
/// Flattening once only removes one level of nesting: | |||
/// Flattening only removes one level of nesting at a time: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Flattening only removes one level of nesting at a time: | |
/// Flattening only removes one level of nesting once: |
"at a time" is not clear that it happened once, feels like a play a words, people may not notice it if not careful. Oh, after reading it I find it being extra, we can even remove "at a time" or "once".
Flattening only removes one level of nesting
I think would be clear enough.
☀️ Test successful - checks-actions |
No description provided.