Skip to content

Commit

Permalink
Fix quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Dec 5, 2023
1 parent 39dfa35 commit 1623cc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions macro/src/dialect/operation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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..]
)
}
Expand Down

0 comments on commit 1623cc0

Please sign in to comment.