From 640c924d55ec83fd8facdef132e402ed02847b01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Sun, 17 Nov 2024 08:30:02 +0000 Subject: [PATCH] Fix formatting --- src/ed.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ed.rs b/src/ed.rs index 0ace722..477e875 100644 --- a/src/ed.rs +++ b/src/ed.rs @@ -10,9 +10,7 @@ pub struct EdPatch { impl crate::ContentPatch for EdPatch { fn apply_exact(&self, orig: &[u8]) -> Result, crate::ApplyError> { let lines = splitlines(orig).collect::>(); - let result = self - .apply(&lines) - .map_err(crate::ApplyError::Conflict)?; + let result = self.apply(&lines).map_err(crate::ApplyError::Conflict)?; Ok(result) } }