Commit 08206f5
authored
Docs: Update KeyMappingProvider example to use prefixKeys(with:) (#125)
### Motivation
The documentation example was using a manual `mapKeys` closure instead
of the more concise `prefixKeys(with:)` convenience method provided by
the library.
### Modifications
Updated the code snippet in KeyMappingProvider.swift to use the
`prefixKeys(with:)` method.
### Result
The documentation example now correctly reflects the recommended and
most concise way to prefix keys.
### Test Plan
Documentation-only change. Verified the syntax in the code comment.1 parent 18cc717 commit 08206f5
File tree
1 file changed
+1
-3
lines changed- Sources/Configuration/Providers/Wrappers
1 file changed
+1
-3
lines changedLines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
| 60 | + | |
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
| |||
0 commit comments