Sean & 🐶 is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

@schlink Rust has `into()`, that lets the compiler automatically convert an argument to the type needed by the function without you having to do it explicitly (assuming a type conversion has been defined)

Sean & 🐶 @seanlinsley

@schlink it's hard to find linkable docs on it though...

· Web · 0 · 0

@seanlinsley trade-offs!

I'm mostly going from Stack Overflow with my issues so far (e.g. stackoverflow.com/questions/10 )

But I'm planning on doing this same little game in both Rust and C++ and then maybe writing up the experience in a blog post.

@seanlinsley Started playing with Rust today. It's manageable so far!

Really enjoying these "rustlings" and the playground links in the readme github.com/carols10cents/rustl