Ruby: Add some documentation

This is primarily to bust the build cache.
This commit is contained in:
Harry Maclean
2023-03-16 12:24:47 +13:00
parent 7b81fe3109
commit 0eb0c26b72

View File

@@ -320,6 +320,8 @@ fn scan_erb(
(result, line_breaks)
}
/// Advance `index` to the next non-whitespace character.
/// Newlines are **not** considered whitespace.
fn skip_space(content: &[u8], index: usize) -> usize {
let mut index = index;
while index < content.len() {