Format with rustfmt
diff --git a/src/punctuated.rs b/src/punctuated.rs
index dc8c4ea..ccf7597 100644
--- a/src/punctuated.rs
+++ b/src/punctuated.rs
@@ -93,7 +93,10 @@
}
pub fn trailing_punct(&self) -> bool {
- self.inner.last().map(|last| last.1.is_some()).unwrap_or(false)
+ self.inner
+ .last()
+ .map(|last| last.1.is_some())
+ .unwrap_or(false)
}
/// Returns true if either this `Punctuated` is empty, or it has a trailing
@@ -101,7 +104,10 @@
///
/// Equivalent to `punctuated.is_empty() || punctuated.trailing_punct()`.
pub fn empty_or_trailing(&self) -> bool {
- self.inner.last().map(|last| last.1.is_some()).unwrap_or(true)
+ self.inner
+ .last()
+ .map(|last| last.1.is_some())
+ .unwrap_or(true)
}
}