Skip to content

Commit cbe88a8

Browse files
saulKevinRansom
authored andcommitted
Use the IEnumerable String.Join overload that was added in .Net Framework 4.0 (#2570)
1 parent 6dde435 commit cbe88a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fsharp/FSharp.Core/string.fs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace Microsoft.FSharp.Core
2020

2121
[<CompiledName("Concat")>]
2222
let concat sep (strings : seq<string>) =
23-
String.Join(sep, Seq.toArray strings)
23+
String.Join(sep, strings)
2424

2525
[<CompiledName("Iterate")>]
2626
let iter (f : (char -> unit)) (str:string) =

0 commit comments

Comments
 (0)