PhantomData - ikrustbtw retweeted
Is your company currently hiring for a role that includes using Rust?
Reply with a link to the opening and any relevant context.
If you're not, we'd appreciate a repost for visibility
#rust #rustlang #programming
Hi folks! I'm actively looking for a Rust internship.
I've spent a lot of time learning Rust and really enjoy low level programming, concurrency, atomics, and systems work in general.
Always ready for any interviews, etc.
Would really appreciate any help!
2
142
PhantomData - ikrustbtw retweeted
・ 。
∴。
・゚*。.
・ *゚
・ ゚*
・。
*・。
*.。
。・
°*. ゚。
°*.
゚*.
。。 ・
。 ・゚
。°*.
。*・。
Did you know that if a function in #Rust lang accepts a &'a str then the caller can also supply a &'static str? But not the other way around i.e. if a function expects a &'static str, you cannot pass it a &'a str.
You’ve probably done this without even realizing it :)
1
3
149
Did you know that you can stick PhantomData<Type> in your struct to opt in or out of auto trait impls?
For example, if you want your struct to be !Send and !Sync, just add a PhantomData<Rc> (since Rc is neither Send nor Sync), no nightly negative impl feature needed :)
#rustlang
2
108


















