remove debug macros, apparently those are also in the release build

master
CptCaptain 3 years ago
parent 55b3286bfa
commit 873d30eabd
  1. 2
      src/main.rs

@ -44,7 +44,6 @@ impl<'v> FromFormValue<'v> for Link {
Ok(string) => string, Ok(string) => string,
Err(_) => return Err(form_value) Err(_) => return Err(form_value)
}; };
dbg!(&string);
// Try to parse a hyperlink from the string // Try to parse a hyperlink from the string
let mut abs_uri: Option<Absolute> = None; let mut abs_uri: Option<Absolute> = None;
@ -62,7 +61,6 @@ impl<'v> FromFormValue<'v> for Link {
Some(abs_uri) => Link{uri: abs_uri.to_string()}, Some(abs_uri) => Link{uri: abs_uri.to_string()},
_ => return Err(form_value) _ => return Err(form_value)
}; };
dbg!(&result);
// Return successfully. // Return successfully.
Ok(result) Ok(result)

Loading…
Cancel
Save