Skip to content

Commit 9cb732c

Browse files
committed
revert versoDocs test
1 parent 1e5d986 commit 9cb732c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lean/run/versoDocs.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ If {lean}`xs.size ≤ n`, then {lean}`rot n xs = rot (n % xs.size) xs`.
8989
Read more about {manual section "Array"}[arrays] in the Lean language reference.
9090
-/
9191
def rot (n : Nat) (xs : Array α) : Array α :=
92-
xs[n...*].copy ++ xs[*...n].copy
92+
xs[n...*] ++ xs[*...n]
9393

9494
#eval rot 2 #[1, 2, 3]
9595

0 commit comments

Comments
 (0)