Mr. Rust (@code_rusty) header
Mr. Rust (@code_rusty) profile picture

Rust + Solana Dev in training Building daily. DM to connect.

Blockchain
Joined September 2024
Replying to @CosmoBunnyIN
Code notes plus Exercise 😇
33
You can chain the let in recent Rust update. "Let chains" sounds like a new blockchain name, but it's a new rust feature. blog.rust-lang.org/2025/06/2…
2
4
147
Replying to @bdafeesh
Thank You for the opportunity to research this topic. .cloned() on Option<&T> gives Option<T> If you delete the type annotation in VSCode, it will still appears as such as written.
18
How come you guys handle trait and generics!! had a tough day solving 10 exercises 🥲 1st image: Notes for traits & generics. 2nd image: Exercises based on those notes.
1
15
1,187
Replying to @incisakura1
ok() part converts the Result to Option ? part unwraps the Option if Some, and returning None if None. ok()? together, they proceeding if Some or exiting with None return very fast.
1
61
Replying to @ferron_web
Yes, poll results were surprising 😁 Had this code ready to resolve troubles. Result -> Some & None [Both cases covered]
1
31
Replying to @kalanamith
option 4: converts Result to Option is right..!!
1
51
Replying to @jackwbackes
I don't fully understand, just started to understand these things: - Usually compiler can move anything in memory, this put limitation on it - Pin is for pointers not values. - Everything is unpinned by default except Phantom. - Pin is a part of Async topics, makes 'future' safe.
114
Replying to @notnullptr
zero errors, just 2 warnings😬 Here's a bonus most complex question: What do you get? Error? Warning? or success?
2
1
146
Replying to @slothofalltradz
Good luck 👍😄
1
1
24