From 8229a0e2e2ba70229664342537eb31c5fc66b4ac Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Wed, 6 Dec 2023 09:31:49 +0900 Subject: [PATCH] Refactor --- macro/src/dialect/operation.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/macro/src/dialect/operation.rs b/macro/src/dialect/operation.rs index 430a137f7e..450e4c1c9b 100644 --- a/macro/src/dialect/operation.rs +++ b/macro/src/dialect/operation.rs @@ -342,9 +342,7 @@ impl<'a> Operation<'a> { } pub fn description(&self) -> Result { - Ok(sanitize_documentation( - self.definition.str_value("description")?, - )?) + sanitize_documentation(self.definition.str_value("description")?) } }