From 5a80ff0db3690943a522e38152c86393ab0eb594 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 9 Oct 2024 13:48:45 -0400 Subject: Update docs to standardize function signature formatting --- docs/ranges.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/ranges.md') diff --git a/docs/ranges.md b/docs/ranges.md index 6565f94d..799b0eb3 100644 --- a/docs/ranges.md +++ b/docs/ranges.md @@ -18,9 +18,9 @@ created using the `Int.to()` method like so: `5:to(10)`. Ranges are **Description:** Returns a reversed copy of the range. -**Usage:** +**Signature:** ```tomo -reversed(range: Range -> Range) +func reversed(range: Range -> Range) ``` **Parameters:** @@ -43,9 +43,9 @@ A new `Range` with the order of elements reversed. **Description:** Creates a new range with a specified step value. -**Usage:** +**Signature:** ```tomo -by(range: Range, step: Int -> Range) +func by(range: Range, step: Int -> Range) ``` **Parameters:** -- cgit v1.2.3