Skip to content

Commit 3f7d84d

Browse files
committed
fmt
1 parent c54f394 commit 3f7d84d

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

glib-macros/tests/properties.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,7 @@ fn props() {
101101
fn properties() -> &'static [ParamSpec] {
102102
Self::derived_properties()
103103
}
104-
fn set_property(
105-
&self,
106-
_id: usize,
107-
_value: &Value,
108-
_pspec: &ParamSpec,
109-
) {
104+
fn set_property(&self, _id: usize, _value: &Value, _pspec: &ParamSpec) {
110105
Self::derived_set_property(self, _id, _value, _pspec).unwrap()
111106
}
112107
fn property(&self, id: usize, _pspec: &ParamSpec) -> Value {

glib/src/param_spec.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2036,9 +2036,6 @@ mod tests {
20362036

20372037
assert_eq!(pspec.name(), "name");
20382038
assert_eq!(pspec.blurb(), Some("Simple int parameter"));
2039-
assert_eq!(
2040-
pspec.flags(),
2041-
ParamFlags::READWRITE
2042-
);
2039+
assert_eq!(pspec.flags(), ParamFlags::READWRITE);
20432040
}
20442041
}

0 commit comments

Comments
 (0)