MCPcopy Create free account
hub / github.com/estebank/makeit / x

Function x

makeit/examples/valid.rs:11–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9}
10
11pub fn x() {
12 let x: Foo<_> = Foo::builder().set_bar(&()).set_baz(2).build();
13 println!("{:?} {:?}", x.bar, x.baz);
14 let x: Foo<_> = Foo::builder().set_bar(&()).build();
15 println!("{:?} {:?}", x.bar, x.baz);
16}
17
18#[derive(Builder)]
19struct Bar {

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected