Skip to content

Commit 6a1d873

Browse files
authored
Merge pull request #3214 from fsprojects/repo-assist/fix-issue-2912-function-binding-width-docs-sample-987ed994371baa65
[Repo Assist] Fix fsharp_max_function_binding_width docs example
2 parents 14972fa + b9f2982 commit 6a1d873

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/docs/end-users/Configuration.fsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -720,9 +720,10 @@ printfn
720720

721721
formatCode
722722
"""
723-
let title = "Great title of project"
724-
type MyType() =
725-
member this.HelpText = "Some help text"
723+
let printScore score total = printfn "%i / %i" score total
724+
725+
type Triangle() =
726+
member this.CalculateSurface(width: int, height: int) = width * height / 2
726727
"""
727728
"""
728729
fsharp_max_function_binding_width = 10

0 commit comments

Comments
 (0)