1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

Merge pull request #325 from kwantam/master

fmt: update use of *T to *const T
This commit is contained in:
Arcterus 2014-06-30 16:30:19 -07:00
commit e5066d1978

View file

@ -139,7 +139,7 @@ fn break_knuth_plass<'a, T: Clone + Iterator<&'a WordInfo<'a>>>(mut iter: T, arg
// We find identical breakpoints here by comparing addresses of the references.
// This is OK because the backing vector is not mutating once we are linebreaking.
if winfo as *_ == next_break as *_ {
if winfo as *const _ == next_break as *const _ {
// OK, we found the matching word
if break_before {
write_newline(args.indent_str, args.ostream);