Manually format remaining problems

Use line comments instead of block comments
as block comments contain trailing whitespace
after formatting with rustfmt.

Skip tests for malloc_size_of and script_plugins
with rustfmt as they have many block comments.
This commit is contained in:
Pyfisch 2018-11-06 16:08:50 +01:00
parent cb07debcb6
commit 095d446ccd
5 changed files with 51 additions and 52 deletions

View file

@ -223,16 +223,15 @@ impl<'a> DetailedGlyphStore {
entry_offset, glyphs
);
/* TODO: don't actually assert this until asserts are compiled
in/out based on severity, debug/release, etc. This assertion
would wreck the complexity of the lookup.
See Rust Issue #3647, #2228, #3627 for related information.
do self.detail_lookup.borrow |arr| {
assert !arr.contains(entry)
}
*/
// TODO: don't actually assert this until asserts are compiled
// in/out based on severity, debug/release, etc. This assertion
// would wreck the complexity of the lookup.
//
// See Rust Issue #3647, #2228, #3627 for related information.
//
// do self.detail_lookup.borrow |arr| {
// assert !arr.contains(entry)
// }
self.detail_lookup.push(entry);
self.detail_buffer.extend_from_slice(glyphs);