Skip to content

Commit 4b54582

Browse files
committed
Fix
1 parent f7baee0 commit 4b54582

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Init/Data/String/Basic.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ theorem String.append_empty {s : String} : s ++ "" = s := by
220220
simp [← String.bytes_inj]
221221

222222
@[simp]
223-
theorem String.ofList_nil : String.ofList [] = "" := by
224-
simp [← String.bytes_inj]
223+
theorem String.ofList_nil : String.ofList [] = "" :=
224+
rfl
225225

226226
@[deprecated String.ofList_nil (since := "2025-10-30")]
227227
theorem List.asString_nil : String.ofList [] = "" :=

0 commit comments

Comments
 (0)