This one is for cargo fmt

This commit is contained in:
Peter Krull 2024-03-02 00:16:17 +01:00
parent 311ab07a9a
commit e02a987baf

View File

@ -729,7 +729,7 @@ mod tests {
assert_eq!(rcv.try_changed(), Some(10));
// Modify the value inplace
snd.modify(|opt|{
snd.modify(|opt| {
if let Some(inner) = opt {
*inner += 5;
}