diff options
author | Pyfisch <pyfisch@gmail.com> | 2018-11-06 13:01:35 +0100 |
---|---|---|
committer | Pyfisch <pyfisch@gmail.com> | 2018-11-06 22:30:31 +0100 |
commit | cb07debcb6f3d3561177ce536c320986720791b7 (patch) | |
tree | ccac4d5a48b3112230f3fc2e873753dd7263e9fb /components/gfx/tests | |
parent | bf47f90da667e95eaffc8fee36ca8a88e72e276c (diff) | |
download | servo-cb07debcb6f3d3561177ce536c320986720791b7.tar.gz servo-cb07debcb6f3d3561177ce536c320986720791b7.zip |
Format remaining files
Diffstat (limited to 'components/gfx/tests')
-rw-r--r-- | components/gfx/tests/font_context.rs | 3 | ||||
-rw-r--r-- | components/gfx/tests/font_template.rs | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/components/gfx/tests/font_context.rs b/components/gfx/tests/font_context.rs index 8608f38329e..ba9e7afbdb0 100644 --- a/components/gfx/tests/font_context.rs +++ b/components/gfx/tests/font_context.rs @@ -119,7 +119,8 @@ fn font_family(names: Vec<&str>) -> FontFamily { name: Atom::from(name), syntax: FamilyNameSyntax::Quoted, }) - }).collect(); + }) + .collect(); FontFamily(FontFamilyList::new(names.into_boxed_slice())) } diff --git a/components/gfx/tests/font_template.rs b/components/gfx/tests/font_template.rs index a6caea2f375..6e7fa8aea5a 100644 --- a/components/gfx/tests/font_template.rs +++ b/components/gfx/tests/font_template.rs @@ -41,7 +41,8 @@ fn test_font_template_descriptor() { let mut template = FontTemplate::new( Atom::from(filename), Some(file.bytes().map(|b| b.unwrap()).collect()), - ).unwrap(); + ) + .unwrap(); let context = FontContextHandle::new(); |