This removes the need for the FromNodeError::Utf8Error variant, by always passing in a string slice instead of a impl AsRef<[u8]> into many methods
This is greatly assisted by adding an extension method str_text to tree_sitter::Node which is a simple wrapper around the utf8_text method but always takes in valid utf-8
This removes the need for the FromNodeError::Utf8Error variant, by always passing in a string slice instead of a
impl AsRef<[u8]>
into many methodsThis is greatly assisted by adding an extension method
str_text
totree_sitter::Node
which is a simple wrapper around theutf8_text
method but always takes in validutf-8