mirror of
https://github.com/rust-unofficial/patterns
synced 2024-11-14 18:12:46 +00:00
Fix typo in lenses.md (#350)
This commit is contained in:
parent
1d39d25d8c
commit
f5f8078f46
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user