Skip to content

Commit

Permalink
style: change "highlight_spacing" doc comment to use inline code-bloc…
Browse files Browse the repository at this point in the history
…k for reference
  • Loading branch information
hasezoey committed Aug 12, 2023
1 parent d22dccf commit 20e988a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/widgets/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ impl<'a> List<'a> {

/// Set when to show the highlight spacing
///
/// See [HighlightSpacing] about which variant affects spacing in which way
/// See [`HighlightSpacing`] about which variant affects spacing in which way
pub fn highlight_spacing(mut self, value: HighlightSpacing) -> Self {
self.highlight_spacing = value;
self
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ impl<'a> Table<'a> {

/// Set when to show the highlight spacing
///
/// See [HighlightSpacing] about which variant affects spacing in which way
/// See [`HighlightSpacing`] about which variant affects spacing in which way
pub fn highlight_spacing(mut self, value: HighlightSpacing) -> Self {
self.highlight_spacing = value;
self
Expand Down

0 comments on commit 20e988a

Please sign in to comment.