From 7b735ab6fc3e0bb368f1ca484168eaefbbe3ce9c Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 4 Apr 2025 18:29:09 -0400 Subject: Misc fixes --- docs/integers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/integers.md') diff --git a/docs/integers.md b/docs/integers.md index 6e45f1be..5681388c 100644 --- a/docs/integers.md +++ b/docs/integers.md @@ -135,7 +135,7 @@ can be called either on the type itself: `Int.sqrt(x)` or as a method call: - [`func parse(text: Text -> Int?)`](#parse) - [`func prev_prime(x: Int -> Int)`](#prev_prime) - [`func sqrt(x: Int -> Int)`](#sqrt) -- [`func to(first: Int, last: Int, step : Int? = none:Int -> func(->Int?))`](#to) +- [`func to(first: Int, last: Int, step : Int? = none -> func(->Int?))`](#to) ### `abs` Calculates the absolute value of an integer. @@ -458,7 +458,7 @@ Returns an iterator function that iterates over the range of numbers specified. Iteration is assumed to be nonempty and ```tomo -func to(first: Int, last: Int, step : Int? = none:Int -> func(->Int?)) +func to(first: Int, last: Int, step : Int? = none -> func(->Int?)) ``` - `first`: The starting value of the range. -- cgit v1.2.3