Also I sort of wish std::thread::sleep_ms wasn't deprecated. ::sleep() is better, but for hacky little things: sleep_ms(500) is easier to write than sleep(std::time::Duration::from_millis(500)) I know `sleep()` is brilliant, but I *like* `sleep_ms()`.
-
-
I'm sure there's a crate out there that does this kind of thing already but sleep(500.millis()) is also feasible https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=95797fd44a8f0743cbc2ed35e24b5773 …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.