3 ms·
True about 'static. Sometimes I think I need an IDE shortcut for `Send + Sync + 'static`. Like `if err != nil`, you know :))
by Hirrolot 4y ago
True about 'static. Sometimes I think I need an IDE shortcut for `Send + Sync + 'static`.
Like `if err != nil`, you know :))
- estebank 4y agoThe trait_alias[1] nightly feature might be what you want :) It was dormant for a long time, but it seems like it might be getting some love towards stabilization (or outright removal, I guess) at some point in the medium future. [1]: https://doc.rust-lang.org/beta/unstable-book/language-features/trait-alias.html https://doc.rust-lang.org/beta/unstable-book/language-featur...