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:
Andrew Gallant
2023-09-30 14:15:48 -04:00
parent c9bfbe1e3d
commit dd1bc5b898
2 changed files with 15 additions and 15 deletions

View File

@@ -632,6 +632,7 @@ pub(crate) struct InterpolatorStatus {
impl InterpolatorStatus {
/// Create an inactive interpolator status.
#[inline]
pub(crate) fn inactive() -> InterpolatorStatus {
InterpolatorStatus { active: false }
}