Rename rust_2015
=> is_rust_2015
This commit is contained in:
parent
131f0c6df6
commit
9fe8ae792e
11 changed files with 21 additions and 18 deletions
|
@ -77,7 +77,7 @@ impl Edition {
|
|||
}
|
||||
|
||||
/// Is this edition 2015?
|
||||
pub fn rust_2015(self) -> bool {
|
||||
pub fn is_rust_2015(self) -> bool {
|
||||
self == Edition::Edition2015
|
||||
}
|
||||
|
||||
|
|
|
@ -705,8 +705,8 @@ impl Span {
|
|||
}
|
||||
|
||||
#[inline]
|
||||
pub fn rust_2015(self) -> bool {
|
||||
self.edition().rust_2015()
|
||||
pub fn is_rust_2015(self) -> bool {
|
||||
self.edition().is_rust_2015()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue