huh, that’s neat
Anyone familiar with unsafe Rust? I'm writing a simple container type as an internal storage for another type. It is something like Vec, but stores 3 different internal arrays...
if im not creating a mutable string then why would it store the capacity?
something like that? trait Callback { fn callback(&self) { println!("default callback implementation") } } and Parent and Child structs struct Parent {} im...
How can I add windows crate to project only for windows target and only if the feature special was set? I have multiple targets dependencies (macOS / Windows / Linux), not sur...
I want to learn once and for all the the different between Mutex / Arc (and more generics for accessing), in async / sync access and lifetime. I think it's the most diffcult p...
my question is why the fuck would it store the capacity if its not mutable?
Did you already run miri on it?
How to use Rc<BufReader<File>> ? I get error at line 8.
How to setup rust without visual studio?
If a language manages to mix a lot of good things together in a harmonious way I should give it a good chance even if it looks kinda ugly sometimes. Because it's the features ...
Обсуждают сегодня