Skip to content

Commit baccf84

Browse files
committed
fix: apply rustfmt formatting
1 parent 5511a88 commit baccf84

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cortex-agents/src/mention.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ mod tests {
375375
let text = "こんにちは";
376376
assert_eq!(safe_slice_up_to(text, 3), "こ"); // Valid boundary
377377
assert_eq!(safe_slice_up_to(text, 6), "こん"); // Valid boundary
378-
// Position 4 is inside the second character, should return "こ"
378+
// Position 4 is inside the second character, should return "こ"
379379
assert_eq!(safe_slice_up_to(text, 4), "こ");
380380
assert_eq!(safe_slice_up_to(text, 5), "こ");
381381
}
@@ -384,7 +384,7 @@ mod tests {
384384
fn test_safe_slice_from_multibyte() {
385385
let text = "こんにちは";
386386
assert_eq!(safe_slice_from(text, 3), "んにちは"); // Valid boundary
387-
// Position 4 is inside second character, should skip to position 6
387+
// Position 4 is inside second character, should skip to position 6
388388
assert_eq!(safe_slice_from(text, 4), "にちは");
389389
assert_eq!(safe_slice_from(text, 5), "にちは");
390390
}

0 commit comments

Comments
 (0)