mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2025-12-24 00:01:03 -05:00
chore(sdk): Make Clippy happy :-).
This commit is contained in:
@@ -698,7 +698,7 @@ impl LatestEventValueBuilder {
|
||||
{
|
||||
Some(LatestEventValue::Remote(event))
|
||||
} else {
|
||||
current_value_must_be_erased.then(|| LatestEventValue::default())
|
||||
current_value_must_be_erased.then(LatestEventValue::default)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user