Commit e2ac266
committed
Simplify StringSpan initialization
Remove unnecessary cast to `(int)` in `StringSpan` constructor. The `length - 1` value is now passed directly, improving code clarity and maintainability. This change ensures type consistency and eliminates redundant operations.1 parent 9796e06 commit e2ac266
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments