Skip to content

Commit

Permalink
Improve some doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
meowgorithm committed Apr 7, 2021
1 parent bb42143 commit 0f0a706
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions unset.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ func (s Style) UnsetMarginBottom() Style {
return s
}

// UnsetMarginBackground removes the margin's background color. The margin's
// background color is set from the background color of another style during
// inheritance.
// UnsetMarginBackground removes the margin's background color. Note that the
// margin's background color can be set from the background color of another
// style during inheritance.
func (s Style) UnsetMarginBackground() Style {
delete(s.rules, marginBackgroundKey)
return s
Expand Down Expand Up @@ -182,8 +182,7 @@ func (s Style) UnsetBorderLeft() Style {
return s
}

// UnsetBorderForeground removes all border foreground colors styles, if
// set.
// UnsetBorderForeground removes all border foreground color styles, if set.
func (s Style) UnsetBorderForeground() Style {
delete(s.rules, borderTopForegroundKey)
delete(s.rules, borderRightForegroundKey)
Expand Down

0 comments on commit 0f0a706

Please sign in to comment.