chore: fix typo "Unkown" -> "Unknown" in role error message (#11682)

Fix a typo in the error message when an unknown role is used in a
docstring.

- Changes "Unkown role" to "Unknown role" in
`src/Lean/Elab/DocString.lean`
This commit is contained in:
Alok Singh 2025-12-15 06:29:11 -08:00 committed by GitHub
parent 9b49b6b68d
commit e02f229305
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1301,7 +1301,7 @@ public partial def elabInline (stx : TSyntax `inline) : DocM (Inline ElabInline)
continue
else throw e
| e => throw e
throwErrorAt name "Unkown role `{name}`"
throwErrorAt name "Unknown role `{name}`"
| other =>
throwErrorAt other "Unsupported syntax {other}"
where