add more documentation
This commit is contained in:
1 parent
dcef2470cb
commit
b86c9d915e
8 files changed
+129
-1
No files matched your search
@@ -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.
|
||||
Reference in new issue
Block a user