add more documentation

This commit is contained in:
zekro committed 2026-07-27 11:32:15 +02:00
1 parent dcef2470cb
commit b86c9d915e
8 files changed
+129 -1

No files matched your search

+4
View File
@@ -49,3 +49,7 @@ note: `UnlockedCredentialManager::lock` takes ownership of the receiver `self`,
36 | pub fn lock(self) -> LockedCredentialManager {
| ^^^^
```
## Caveats
This solution requires two structs for the same functionality which may hurt readability and conciseness of the code. Also, it requires to move data around between struct instances when transitioning between states which introduces unnecessary overhead and complexity.