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

This commit is contained in:
alex committed 2025-10-28 00:12:16 -04:00
1 parent 734ab84054
commit 852823e2eb
1 file changed
+2 -1
+2 -1
View File
@@ -41,7 +41,8 @@ impl FromStr for BlsEntry {
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 {
continue;
};