summaryrefslogtreecommitdiff
path: root/Nominal/Helpers/CountableString.lean
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-12-02 11:52:15 +0100
committerHannes Schulze <haschu0103@outlook.de>2025-12-02 11:52:55 +0100
commita8915795c109980285e11ed53d453987c0917069 (patch)
tree63a17d262814082f6f93e203395d3cd6a4c62316 /Nominal/Helpers/CountableString.lean
parent732b74059139428115aadad9b29653351f000c8a (diff)
minor cleanup
Diffstat (limited to 'Nominal/Helpers/CountableString.lean')
-rw-r--r--Nominal/Helpers/CountableString.lean2
1 files changed, 1 insertions, 1 deletions
diff --git a/Nominal/Helpers/CountableString.lean b/Nominal/Helpers/CountableString.lean
index 7d94516..b6f59f8 100644
--- a/Nominal/Helpers/CountableString.lean
+++ b/Nominal/Helpers/CountableString.lean
@@ -2,7 +2,7 @@ import Mathlib
instance : Countable Char where
exists_injective_nat' := by
- exists Char.toNat
+ use Char.toNat
intro c₁ c₂ hc
rw [Char.toNat, Char.toNat, UInt32.toNat_inj] at hc
exact Char.eq_of_val_eq hc