mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-10-02 22:54:52 +00:00
This one is for cargo fmt
This commit is contained in:
parent
311ab07a9a
commit
e02a987baf
@ -729,7 +729,7 @@ mod tests {
|
|||||||
assert_eq!(rcv.try_changed(), Some(10));
|
assert_eq!(rcv.try_changed(), Some(10));
|
||||||
|
|
||||||
// Modify the value inplace
|
// Modify the value inplace
|
||||||
snd.modify(|opt|{
|
snd.modify(|opt| {
|
||||||
if let Some(inner) = opt {
|
if let Some(inner) = opt {
|
||||||
*inner += 5;
|
*inner += 5;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user