Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Switch to package:lints #53

Merged
merged 2 commits into from
May 25, 2021
Merged

Switch to package:lints #53

merged 2 commits into from
May 25, 2021

Conversation

mit-mit
Copy link
Contributor

@mit-mit mit-mit commented May 25, 2021

No description provided.

@mit-mit mit-mit requested a review from lrhn May 25, 2021 12:04
if (element.isEmpty) return false;
var next =
Breaks(element, 0, element.length, stateSoTNoBreak).nextBreak();
if (next != element.length) return false;
// [other] is single grapheme cluster.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment's "other" refers to "element" too, and should be renamed as well

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@lrhn
Copy link
Contributor

lrhn commented May 25, 2021

Remarkably few changes needed. Good to see! Fix the comment, then it's LGTM.

@mit-mit mit-mit merged commit 2f28f25 into dart-archive:master May 25, 2021
@mit-mit mit-mit deleted the pkglints branch May 25, 2021 12:39
mosuem pushed a commit to dart-lang/core that referenced this pull request Oct 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants