Make InlineChange consistent with Change for missing_newline

This commit is contained in:
Armin Ronacher 2021-01-31 22:16:45 +01:00
parent 0a4dd224f5
commit e14b26502b
3 changed files with 5 additions and 4 deletions

View file

@ -66,7 +66,7 @@ impl<'s> InlineChange<'s> {
/// Returns `true` if this change needs to be followed up by a
/// missing newline.
pub fn is_missing_newline(&self) -> bool {
pub fn missing_newline(&self) -> bool {
self.missing_newline
}
}