Skip to content

Conversation

@huonw
Copy link
Contributor

@huonw huonw commented Sep 14, 2013

Allows std::rt::io::timer::sleep(1000) rather than std::rt::io::timer::Timer::new().unwrap().sleep(1000).

@flaper87
Copy link
Contributor

YES! Thanks! 👍

bors added a commit that referenced this pull request Sep 14, 2013
Allows `std::rt::io::timer::sleep(1000)` rather than `std::rt::io::timer::Timer::new().unwrap().sleep(1000)`.
@bors bors closed this Sep 14, 2013
@huonw huonw deleted the are-you-tired branch November 25, 2013 10:55
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 22, 2025
)

Closes rust-lang#9191
Closes rust-lang#14444
Closes rust-lang#8055

Adds a new helper to partly check for side effects by recursively
checking if the iterator type contains closures with mutable captures.

changelog: [`double_ended_iterator_last`] fix FP when iter has side
effects
changelog: [`needless_collect`] fix lint not consider side effects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants