try! -> ?
This commit is contained in:
@@ -159,7 +159,7 @@ r#"impl fmt::Display for Type {{
|
||||
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {{
|
||||
match self.schema() {{
|
||||
"public" | "pg_catalog" => {{}}
|
||||
schema => try!(write!(fmt, "{{}}.", schema)),
|
||||
schema => write!(fmt, "{{}}.", schema)?,
|
||||
}}
|
||||
fmt.write_str(self.name())
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user