From 1623cc0088e04b7b1bb706d54ca1d12908aaf01c Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Tue, 5 Dec 2023 21:52:27 +0900 Subject: [PATCH] Fix quoting --- macro/src/dialect/operation.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macro/src/dialect/operation.rs b/macro/src/dialect/operation.rs index 67574a7436..73affdbf61 100644 --- a/macro/src/dialect/operation.rs +++ b/macro/src/dialect/operation.rs @@ -577,10 +577,10 @@ impl<'a> Operation<'a> { let summary = definition.str_value("summary")?; if summary.is_empty() { - format!("[`{short_name}`]({class_name}) operation") + format!("[`{short_name}`]({class_name}) operation.") } else { format!( - "[`{short_name}`]({class_name}) operation: {}", + "[`{short_name}`]({class_name}) operation. {}.", summary[0..1].to_uppercase() + &summary[1..] ) }