Skip to content

Commit d89326b

Browse files
SimonCroppCopilot
andauthored
Update src/Verify/Serialization/Scrubbers/CrossChunkMatcher.cs
Co-authored-by: Copilot <[email protected]>
1 parent d28a0fc commit d89326b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Verify/Serialization/Scrubbers/CrossChunkMatcher.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,11 @@ public delegate void CrossChunkHandler<TContext>(
9090
/// <summary>
9191
/// Callback for processing positions within a chunk.
9292
/// </summary>
93-
/// <returns>Number of positions to skip ahead (0 or 1 for normal iteration, more to skip past a match)</returns>
93+
/// <returns>
94+
/// Number of positions to skip ahead.
95+
/// Returning 0 or 1 will both advance by 1 position (normal iteration);
96+
/// returning a value greater than 1 will skip past a match.
97+
/// </returns>
9498
public delegate int WithinChunkHandler<TContext>(
9599
ReadOnlyMemory<char> chunk,
96100
CharSpan chunkSpan,

0 commit comments

Comments
 (0)