Fix typo in lenses.md (#350)

This commit is contained in:
Maria José Solano 2023-03-26 02:41:33 -07:00 committed by GitHub
parent 1d39d25d8c
commit f5f8078f46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ They also have niche use cases.
## Lenses: Uniform Access Across Types
A lens is a concept from functional progamming languages that allows
A lens is a concept from functional programming languages that allows
accessing parts of a data type in an abstract, unified way.[^1]
In basic concept, it is similar to the way Rust traits work with type erasure,
but it has a bit more power and flexibility.