Skip to content

Commit

Permalink
Expand documentation of Group::delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Mar 12, 2023
1 parent 68bfd52 commit 1e7fc7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,8 @@ impl Group {
}
}

/// Returns the delimiter of this `Group`
/// Returns the punctuation used as the delimiter for this group: a set of
/// parentheses, square brackets, or curly braces.
pub fn delimiter(&self) -> Delimiter {
self.inner.delimiter()
}
Expand Down

0 comments on commit 1e7fc7b

Please sign in to comment.