Skip to content

Commit 249ae69

Browse files
committed
Format code
1 parent 160fd4a commit 249ae69

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Fabulous/Array.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ module ArraySlice =
4949
module Array =
5050
let inline appendOne (v: 'v) (arr: 'v array) =
5151
let res = Array.zeroCreate(arr.Length + 1)
52-
res[..arr.Length - 1] <- arr
52+
res[.. arr.Length - 1] <- arr
5353
res[arr.Length] <- v
5454
res
5555

src/Fabulous/Components/ComponentContext.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type ComponentContext(initialSize: int) =
4848
if values.Length < count then
4949
let newLength = max (values.Length * 2) count
5050
let newArray = Array.zeroCreate newLength
51-
newArray[..values.Length - 1] <- values
51+
newArray[.. values.Length - 1] <- values
5252
values <- newArray
5353

5454
member this.TryGetValue<'T>(key: int) =

0 commit comments

Comments
 (0)