Skip to content

Commit 5fb2a9c

Browse files
committed
backend: run rustfmt
1 parent 9acf3ab commit 5fb2a9c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backend/src/udp_server/multiplex.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@ async fn create_tunn(
112112
.filter(chargers::id.eq_any(device_ids))
113113
.select(Charger::as_select())
114114
.load(&mut conn)?
115-
}
116-
else {
115+
} else {
117116
log::info!("Could not find charger for ip '{subnet}'");
118117
return Err(anyhow::Error::msg(Error::UnknownPeer));
119118
}

0 commit comments

Comments
 (0)