Commit e6b1758
authored
Adjust
`SecretString` claims it zeroizes its content on last drop. This isn't
currently the case and implementing that is around an `Arc<str>` is impractical
-- requiring unsafe or further indirection -- and likely wouldn't be useful in
reality.
This commit instead adjusts its documentation to simply state it does not
reveal the content in its `Debug` output.SecretString docs to match implementation (#3388)1 parent 8f8d63d commit e6b1758
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments