Skip to main content

word_len

Function word_len 

fn word_len(rest: &str) -> usize
Available on crate feature parse only.
Expand description

Returns the length of the word at the start of rest.

Words contain letters, digits, _, . and -, so that interface names are one word. A - that starts -> ends the word.