Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(stylize): improve docs for style shorthands #491

Merged
merged 1 commit into from
Sep 11, 2023
Merged

Conversation

joshka
Copy link
Member

@joshka joshka commented Sep 11, 2023

The Stylize trait was introduced in 0.22 to make styling less verbose.
This adds a bunch of documentation comments to the style module and
types to make this easier to discover.

Addresses the lack of info on the Stylize shorthands mentioned in #448

The Stylize trait was introduced in 0.22 to make styling less verbose.
This adds a bunch of documentation comments to the style module and
types to make this easier to discover.
@codecov
Copy link

codecov bot commented Sep 11, 2023

Codecov Report

Merging #491 (a9c3ebe) into main (af36282) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #491   +/-   ##
=======================================
  Coverage   90.16%   90.16%           
=======================================
  Files          41       41           
  Lines       11277    11277           
=======================================
  Hits        10168    10168           
  Misses       1109     1109           
Files Changed Coverage Δ
src/style.rs 92.33% <ø> (ø)
src/style/stylize.rs 100.00% <ø> (ø)

@joshka joshka merged commit 1e20475 into main Sep 11, 2023
33 checks passed
@joshka joshka deleted the docs-style-shortcuts branch September 11, 2023 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants