mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
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:
parent
cb07debcb6
commit
095d446ccd
5 changed files with 51 additions and 52 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue