diff options
Diffstat (limited to 'crates/shirabe-symfony-console/src/style')
| -rw-r--r-- | crates/shirabe-symfony-console/src/style/symfony_style.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe-symfony-console/src/style/symfony_style.rs b/crates/shirabe-symfony-console/src/style/symfony_style.rs index ead056d5..881d87e0 100644 --- a/crates/shirabe-symfony-console/src/style/symfony_style.rs +++ b/crates/shirabe-symfony-console/src/style/symfony_style.rs @@ -312,7 +312,7 @@ impl SymfonyStyle { fn auto_prepend_text(&mut self) { let fetched = self.buffered_output.fetch(); // Prepend new line if last char isn't EOL: - if !shirabe_php_shim::str_ends_with(&fetched, "\n") { + if !fetched.ends_with('\n') { self.new_line(1); } } |
