chore(doc/bls/entry): clarify why char::is_whitespace is used despite newline matching

This commit is contained in:
2025-10-28 00:12:16 -04:00
parent 734ab84054
commit 852823e2eb

View File

@@ -41,7 +41,8 @@ impl FromStr for BlsEntry {
continue; continue;
} }
// Split the line once by whitespace. // Split the line once by whitespace. This technically includes newlines but since
// the lines iterator is used, there should never be a newline here.
let Some((key, value)) = line.split_once(char::is_whitespace) else { let Some((key, value)) = line.split_once(char::is_whitespace) else {
continue; continue;
}; };