From 037cae1bbcf0b13962062b890f4e80b2053479f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Wed, 7 Oct 2026 02:25:16 -0400 Subject: [PATCH] =?UTF-8?q?Git=20=C2=B7=20DiffViewer:=20shorter=20comments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/git/viewer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/git/viewer.rs b/src/git/viewer.rs index ae1a6ae..0cfe571 100644 --- a/src/git/viewer.rs +++ b/src/git/viewer.rs @@ -33,7 +33,7 @@ type OnIndex = Rc; type OnLayout = Rc; type OnLine = Rc; -/// One file's changes, unified or side by side; fills its box. +/// A file's changes, unified or side by side; fills its box. #[derive(IntoElement)] pub struct DiffViewer { id: ElementId, @@ -123,7 +123,7 @@ impl DiffViewer { self } - /// Leaves the header, path, counts and layout, to the owner. + /// Leaves header, path, counts and layout to the owner. pub fn headless(mut self) -> Self { self.headless = true; self