Skip to content

Commit 0eb0c26

Browse files
committed
Ruby: Add some documentation
This is primarily to bust the build cache.
1 parent 7b81fe3 commit 0eb0c26

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ruby/extractor/src/bin/extractor.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,8 @@ fn scan_erb(
320320
(result, line_breaks)
321321
}
322322

323+
/// Advance `index` to the next non-whitespace character.
324+
/// Newlines are **not** considered whitespace.
323325
fn skip_space(content: &[u8], index: usize) -> usize {
324326
let mut index = index;
325327
while index < content.len() {

0 commit comments

Comments
 (0)