Skip to content

Commit b43500a

Browse files
committed
fmt
1 parent e591453 commit b43500a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/integration/src/classes.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,21 +98,24 @@ fn integrate_foo(module: &mut Module) {
9898
.add_method("key", Visibility::Public, |this, _arguments| {
9999
let state = this.as_state();
100100
Ok::<_, phper::Error>(state.position as i64)
101-
}).return_type(ReturnType::by_val(ReturnTypeHint::Mixed));
101+
})
102+
.return_type(ReturnType::by_val(ReturnTypeHint::Mixed));
102103

103104
class
104105
.add_method("next", Visibility::Public, |this, _arguments| {
105106
let state = this.as_mut_state();
106107
state.position += 1;
107108
Ok::<_, Infallible>(())
108-
}).return_type(ReturnType::by_val(ReturnTypeHint::Void));
109+
})
110+
.return_type(ReturnType::by_val(ReturnTypeHint::Void));
109111

110112
class
111113
.add_method("rewind", Visibility::Public, |this, _arguments| {
112114
let state = this.as_mut_state();
113115
state.position = 0;
114116
Ok::<_, Infallible>(())
115-
}).return_type(ReturnType::by_val(ReturnTypeHint::Void));
117+
})
118+
.return_type(ReturnType::by_val(ReturnTypeHint::Void));
116119

117120
class
118121
.add_method("valid", Visibility::Public, |this, _arguments| {

0 commit comments

Comments
 (0)