]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_span/src/edition.rs
Rename `rust_2015` => `is_rust_2015`
[rust.git] / compiler / rustc_span / src / edition.rs
index e66ec07904341b8585d529f82c2d87adc829bbc7..f16db69aae2323d6efef2998b64dc43ee307837a 100644 (file)
@@ -77,7 +77,7 @@ pub fn is_stable(self) -> bool {
     }
 
     /// Is this edition 2015?
-    pub fn rust_2015(self) -> bool {
+    pub fn is_rust_2015(self) -> bool {
         self == Edition::Edition2015
     }