Sam Schlinkert is a user on octodon.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)

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

Sam Schlinkert @schlink

@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

· Web · 0 · 1