RSSAmplifier

Steve Klabnik · Oct 16, 2020

Are out parameters idiomatic in Rust?

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

There is a pretty straightforward design pattern called “out parameters” that you may have heard of before. In short, the question is, does your function wear pants… err, I mean, does your function modify data like this: fn foo () -> i32 { // body elided } let x = foo (); or like…

Read on steveklabnik.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.