Skip to content

Conversation

@weissi
Copy link
Member

@weissi weissi commented May 21, 2018

CC @BasThomas , forgot to address your comment before merge.

Motivation:

We should explain why this typealias

public typealias RangeType<Bound> = CountableRange<Bound> where Bound: Strideable, Bound.Stride: SignedInteger

isn't just

public typealias RangeType = CountableRange

and that's because SR-6963.

Modifications:

added a comment explaining why

Result:

code easier to read

Motivation:

We should explain why this typealias

    public typealias RangeType<Bound> = CountableRange<Bound> where Bound: Strideable, Bound.Stride: SignedInteger

isn't just

    public typealias RangeType = CountableRange

and that's because SR-6963.

Modifications:

added a comment explaining why

Result:

code easier to read
@weissi weissi requested a review from Lukasa May 21, 2018 18:23
Copy link
Contributor

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

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

Good call. No need for @normanmaurer to come back from his day off early to review this, I'll merge directly.

@Lukasa Lukasa added the 🔨 semver/patch No public API change. label May 21, 2018
@Lukasa Lukasa added this to the 1.7.1 milestone May 21, 2018
@Lukasa Lukasa merged commit 6e73790 into apple:master May 21, 2018
@BasThomas
Copy link
Contributor

👍

Sent with GitHawk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants