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