-
-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
perf(block): use Block::bordered #1041
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1041 +/- ##
=======================================
- Coverage 89.4% 89.4% -0.1%
=======================================
Files 61 61
Lines 15468 15440 -28
=======================================
- Hits 13839 13808 -31
- Misses 1629 1632 +3 ☔ View full report in Codecov by Sentry. |
83744a7
to
c7c27f3
Compare
There seems to be some usages left in |
README, good call! I only checked *.rs files to prevent CHANGELOG.md mishaps 😇 And… I think I got them all now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM other than my comments.
557c550
to
53af5a6
Compare
new can be const also realign methods to have the const first then alpabetically.
Thanks for keeping the block tests in. LGTM |
`Block::bordered()` is shorter than `Block::new().borders(Borders::ALL)`, requires one less import (`Borders`) and in case `Block::default()` was used before can even be `const`.
`Block::bordered()` is shorter than `Block::new().borders(Borders::ALL)`, requires one less import (`Borders`) and in case `Block::default()` was used before can even be `const`.
Block::bordered()
is shorter thanBlock::new().borders(Borders::ALL)
, requires one less import (Borders
) and in caseBlock::default()
was used before can even beconst
.This mostly changes examples, documentation, and tests.
As I used a lot of regular expressions I could have overlooked something when checking all the changes myself. Another set of eyes might find something I missed.