Skip to content

Commit 2d87dc2

Browse files
gogent01Georgy Mishurovskiy
andauthored
docs: Fix typo in an example for List.sort function (#18938)
Co-authored-by: Georgy Mishurovskiy <[email protected]>
1 parent 605486e commit 2d87dc2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/release-notes/.FSharp.Core/10.0.100.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
### Fixed
22

3+
* Correct a typo in docs for List.sort ([PR #18938](https://github.com/dotnet/fsharp/pull/18938))
4+
35
### Added
46

57
* Enable more `string` optimizations by adding `when 'T : Enum` library-only library-only static optimization constraint. ([PR #18546](https://github.com/dotnet/fsharp/pull/18546))

src/FSharp.Core/list.fsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,7 @@ module List =
19781978
///
19791979
/// List.sort input
19801980
/// </code>
1981-
/// Evaluates to <c>[1; 1 3; 4; 6; 8]</c>.
1981+
/// Evaluates to <c>[1; 1; 3; 4; 6; 8]</c>.
19821982
/// </example>
19831983
[<CompiledName("Sort")>]
19841984
val sort: list:'T list -> 'T list when 'T : comparison

0 commit comments

Comments
 (0)