Created
August 26, 2018 22:41
-
-
Save sophiajt/020ff021efb11401dd25d59698b80766 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let x = { | |
let mut foo = Foo::new(); | |
foo.append("bar"); | |
foo.append("baz"); | |
x | |
}; | |
// or, more commonly: | |
let x = Foo::new() | |
.append("bar") | |
.append("baz"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment