From 7c54b80ea094a27344f3e847006e9c91a036c0c7 Mon Sep 17 00:00:00 2001 From: theteachr Date: Wed, 1 Feb 2023 22:03:09 +0530 Subject: [PATCH] Improve naming --- helix-term/src/ui/statusline.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/helix-term/src/ui/statusline.rs b/helix-term/src/ui/statusline.rs index 12a791937bed9..8792a5b8544dc 100644 --- a/helix-term/src/ui/statusline.rs +++ b/helix-term/src/ui/statusline.rs @@ -409,18 +409,18 @@ where write(context, format!(" {} ", file_type), None); } -fn render_path(context: &mut RenderContext, write: F, path: Option) +fn render_title(context: &mut RenderContext, write: F, path: Option) where F: Fn(&mut RenderContext, String, Option