mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Untry style
This commit is contained in:
parent
4c5f7bfaa3
commit
a5bb55790f
45 changed files with 518 additions and 527 deletions
|
@ -148,7 +148,7 @@ impl<T: Parse> Parse for FontSettingTag<T> {
|
|||
use byteorder::{ReadBytesExt, BigEndian};
|
||||
use std::io::Cursor;
|
||||
|
||||
let tag = try!(input.expect_string());
|
||||
let tag = input.expect_string()?;
|
||||
|
||||
// allowed strings of length 4 containing chars: <U+20, U+7E>
|
||||
if tag.len() != 4 ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue