macro_rules! delegating_ascii_methods {
() => {
#[inline]
- fn is_ascii(&self) -> bool { self.is_ascii() }
+ fn is_ascii(&self) -> bool {
+ self.is_ascii()
+ }
#[inline]
- fn to_ascii_uppercase(&self) -> Self::Owned { self.to_ascii_uppercase() }
+ fn to_ascii_uppercase(&self) -> Self::Owned {
+ self.to_ascii_uppercase()
+ }
#[inline]
- fn to_ascii_lowercase(&self) -> Self::Owned { self.to_ascii_lowercase() }
+ fn to_ascii_lowercase(&self) -> Self::Owned {
+ self.to_ascii_lowercase()
+ }
#[inline]
- fn eq_ignore_ascii_case(&self, o: &Self) -> bool { self.eq_ignore_ascii_case(o) }
+ fn eq_ignore_ascii_case(&self, o: &Self) -> bool {
+ self.eq_ignore_ascii_case(o)
+ }
#[inline]
- fn make_ascii_uppercase(&mut self) { self.make_ascii_uppercase(); }
+ fn make_ascii_uppercase(&mut self) {
+ self.make_ascii_uppercase();
+ }
#[inline]
- fn make_ascii_lowercase(&mut self) { self.make_ascii_lowercase(); }
- }
+ fn make_ascii_lowercase(&mut self) {
+ self.make_ascii_lowercase();
+ }
+ };
}
#[stable(feature = "rust1", since = "1.0.0")]