Format with rustfmt 0.8.2
diff --git a/src/lib.rs b/src/lib.rs
index b4e59dd..4e5577d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -527,9 +527,9 @@
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
let (left, right) = match self.delimiter {
Delimiter::Parenthesis => ("(", ")"),
- Delimiter::Brace => ("{", "}"),
- Delimiter::Bracket => ("[", "]"),
- Delimiter::None => ("", ""),
+ Delimiter::Brace => ("{", "}"),
+ Delimiter::Bracket => ("[", "]"),
+ Delimiter::None => ("", ""),
};
f.write_str(left)?;
diff --git a/src/stable.rs b/src/stable.rs
index a53506a..62dc670 100644
--- a/src/stable.rs
+++ b/src/stable.rs
@@ -461,14 +461,19 @@
#[inline]
fn is_ident_start(c: char) -> bool {
- ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || c == '_' ||
- (c > '\x7f' && UnicodeXID::is_xid_start(c))
+ ('a' <= c && c <= 'z')
+ || ('A' <= c && c <= 'Z')
+ || c == '_'
+ || (c > '\x7f' && UnicodeXID::is_xid_start(c))
}
#[inline]
fn is_ident_continue(c: char) -> bool {
- ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || c == '_' || ('0' <= c && c <= '9') ||
- (c > '\x7f' && UnicodeXID::is_xid_continue(c))
+ ('a' <= c && c <= 'z')
+ || ('A' <= c && c <= 'Z')
+ || c == '_'
+ || ('0' <= c && c <= '9')
+ || (c > '\x7f' && UnicodeXID::is_xid_continue(c))
}
fn validate_term(string: &str) {