Skip to content

Commit

Permalink
Better comment
Browse files Browse the repository at this point in the history
Co-authored-by: MaeIsBad <26093674+MaeIsBad@users.noreply.github.com>
  • Loading branch information
WilliamVenner and MaeIsBad authored Dec 22, 2022
1 parent d26d1bf commit 878d2de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/manual_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fn main() {
assert_eq!(redactor.redact("Hello, world!".to_string()), "HelXX, XXrld!");

// Or, we can redact a `String` in-place, which is slightly more efficient,
// and we can also chain multiple redactions together:
// and allows us to chain multiple redactions together:
let mut hello = "Hello, world!".to_string();
let mut goodbye = "Goodbye, world!".to_string();
redactor.redact_in_place(&mut hello).redact_in_place(&mut goodbye);
Expand Down

0 comments on commit 878d2de

Please sign in to comment.