File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -319,12 +319,12 @@ type builtin Int {
319
319
}
320
320
321
321
# Returns a `Range` from `self` up to but excluding `other`.
322
- fn pub until(other: Int) -> ExclusiveRange {
322
+ fn pub inline until(other: Int) -> ExclusiveRange {
323
323
ExclusiveRange.new(clone, other)
324
324
}
325
325
326
326
# Returns a `Range` from `self` up to and including `other`.
327
- fn pub to(other: Int) -> InclusiveRange {
327
+ fn pub inline to(other: Int) -> InclusiveRange {
328
328
InclusiveRange.new(clone, other)
329
329
}
330
330
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ type pub copy InclusiveRange {
50
50
let @end: Int
51
51
52
52
# Returns a new `InclusiveRange` over the given values.
53
- fn pub static new(start: Int, end: Int) -> InclusiveRange {
53
+ fn pub inline static new(start: Int, end: Int) -> InclusiveRange {
54
54
InclusiveRange(start: start, end: end)
55
55
}
56
56
}
You can’t perform that action at this time.
0 commit comments