Skip to content

Commit d9c1cb0

Browse files
committed
fix comments
1 parent 9a6131a commit d9c1cb0

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

‎cpp/src/text/normalize_spaces.cu‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,11 @@ struct spaces_input {
8585
/**
8686
* @brief Marks the whitespace bytes in each row that are not replaced with a space
8787
*
88-
* Repeated whitespace (code-point <= ' ') is replaced with a single space and
89-
* whitespace is trimmed from the beginning and end of each row.
90-
* The output space for each run of whitespace comes from the run's first byte
91-
* when it follows a non-whitespace byte. The exceptions are a run that begins
92-
* a row (the previous byte belongs to the previous row) and a run that ends a row.
93-
* These are marked here so the remaining checks only need the adjacent byte.
88+
* Repeated whitespace is replaced with a single space and trimmed from the beginning and end of
89+
* each row. The output space for each run of whitespace comes from the run's first byte when it
90+
* follows a non-whitespace byte. The exceptions are a run that begins a row (the previous byte
91+
* belongs to the previous row) and a run that ends a row. These are marked here so the remaining
92+
* checks only need the adjacent byte.
9493
*
9594
* Launched as a thread per row.
9695
*

0 commit comments

Comments
 (0)