Mercurial > public > mercurial-scm > hg
diff rust/hg-core/src/utils.rs @ 42841:ce6797ef6eab
rust: apply more formatting fixes
My cargo fmt updated these lines and they look good.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 31 Aug 2019 14:12:38 +0900 |
parents | 5399532510ae |
children | 62eabdf91f85 |
line wrap: on
line diff
--- a/rust/hg-core/src/utils.rs Thu Aug 22 14:31:07 2019 +0200 +++ b/rust/hg-core/src/utils.rs Sat Aug 31 14:12:38 2019 +0900 @@ -20,8 +20,7 @@ /// assert_eq!( /// line, /// b"I love writing tests!".to_vec() -///); -/// +/// ); /// ``` pub fn replace_slice<T>(buf: &mut [T], from: &[T], to: &[T]) where