Bump rustfmt to most recently shipped
This commit is contained in:
parent
93eed402ad
commit
17a393ee96
7 changed files with 27 additions and 18 deletions
|
@ -149,23 +149,35 @@ pub trait AsciiExt {
|
|||
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")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue