1
Fork 0

Rename rust_2015 => is_rust_2015

This commit is contained in:
Maybe Waffle 2023-02-01 10:42:20 +00:00
parent 131f0c6df6
commit 9fe8ae792e
11 changed files with 21 additions and 18 deletions

View file

@ -919,8 +919,8 @@ impl Session {
}
/// Is this edition 2015?
pub fn rust_2015(&self) -> bool {
self.edition().rust_2015()
pub fn is_rust_2015(&self) -> bool {
self.edition().is_rust_2015()
}
/// Are we allowed to use features from the Rust 2018 edition?