mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-08-05 14:42:07 -07:00
printer: sprinkle in a few #[inline] annotations
These seem to help when ripgrep emits a lot of output, especially when the --column flag is used.
This commit is contained in:
@@ -632,6 +632,7 @@ pub(crate) struct InterpolatorStatus {
|
||||
|
||||
impl InterpolatorStatus {
|
||||
/// Create an inactive interpolator status.
|
||||
#[inline]
|
||||
pub(crate) fn inactive() -> InterpolatorStatus {
|
||||
InterpolatorStatus { active: false }
|
||||
}
|
||||
|
Reference in New Issue
Block a user