pub fn line_of(text: &str, detail: &str) -> Option<usize>Expand description
The line (from 1) of a TOML text that an error’s path is about: machine.<list>[<id>].<field> (or [#<n>], the
n-th node of the list), or a dotted key table.sub.key. Falls back to the node or the table; None where neither
is in the text.