rustfmt.
This commit is contained in:
@@ -13,7 +13,12 @@ pub fn test_fn(input: &NonClonable) -> bool {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let n = NonClonable { a: 0.0, b: 10, c: 'a', d: true };
|
||||
let n = NonClonable {
|
||||
a: 0.0,
|
||||
b: 10,
|
||||
c: 'a',
|
||||
d: true,
|
||||
};
|
||||
if test_fn(n) {
|
||||
println!("yes");
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user