Skip to content

Commit

Permalink
doc: rm todo
Browse files Browse the repository at this point in the history
  • Loading branch information
santhosh-tekuri committed Jun 16, 2024
1 parent 348fda9 commit ac960ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/formats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ fn check_hostname(mut s: &str) -> Result<(), Box<dyn Error>> {
.chars()
.find(|c| !matches!(c, 'a'..='z' | 'A'..='Z' | '0'..='9' | '-'))
{
Err(format!("invalid character {ch:?}"))?; // todo: tell which char is invalid
Err(format!("invalid character {ch:?}"))?;
}
}

Expand Down

0 comments on commit ac960ef

Please sign in to comment.