Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Fristi committed Jul 16, 2024
1 parent 7b3ec2a commit ae971de
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions shared/src/main/scala/com/comcast/ip4s/Cidr.scala
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,9 @@ sealed class Cidr[+A <: IpAddress] protected (val address: A, val prefixBits: In
a => a >= start && a <= end
}

/**
* Returns an iterator over all addresses in the range described by this CIDR.
* @return
*/
/** Returns an iterator over all addresses in the range described by this CIDR.
* @return
*/
def addresses: Iterator[IpAddress] = {
val start: IpAddress = prefix
val end: IpAddress = last
Expand Down

0 comments on commit ae971de

Please sign in to comment.