summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShravan Mandava <shravan@mandava8.com>2026-02-22 14:41:50 +0000
committerShravan Mandava <shravan@mandava8.com>2026-02-22 14:41:50 +0000
commitb843d44690566c330e3d3eb9fd023e6a395dfde1 (patch)
treeef3f113d2801c0c7c44b52d92adc4c816ec4dcbb
parentdd44099134bc9bd58863192c299184c206ec1856 (diff)
Remove commented out debug statementsHEADmain
-rw-r--r--src/main.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main.rs b/src/main.rs
index 94883ea..67a5be3 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -27,7 +27,6 @@ fn main() {
let listener = match TcpListener::bind("0.0.0.0:8080") {
Ok(listener) => listener,
Err(e) => {
- //panic!("Failed to bind: {}", e)
err!("Failed to bind: {}", e);
return;
}
@@ -53,10 +52,7 @@ fn handle_connection(mut stream: TcpStream, path: &str) {
let req: Vec<_> = req_buffer
.lines()
.map(|line| match line {
- Ok(line) => {
- // println!("line read: {}", line);
- line
- }
+ Ok(line) => line,
Err(e) => {
err!("Error reading line: {}", e);
String::new()