Skip to content

Commit 948ad31

Browse files
committed
fix for fmt
1 parent c9f4464 commit 948ad31

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/home_assistant.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,8 @@ pub fn start_close_listener(port: u16, tx: Sender<()>) {
148148
b"HTTP/1.1 204 No Content\r\nAccess-Control-Allow-Origin: *\r\nAccess-Control-Allow-Methods: POST, OPTIONS\r\nAccess-Control-Allow-Headers: Content-Type\r\n\r\n",
149149
);
150150
} else {
151-
let _ = stream.write_all(
152-
b"HTTP/1.1 404 Not Found\r\nContent-Length: 9\r\n\r\nNot Found",
153-
);
151+
let _ =
152+
stream.write_all(b"HTTP/1.1 404 Not Found\r\nContent-Length: 9\r\n\r\nNot Found");
154153
}
155154
}
156155
}

0 commit comments

Comments
 (0)