Repository navigation
Commit 8bb7ef1
committed
docs(stack-encrypt): the source modes are uninhabited and hold no plaintext
Review of #1068 asked whether Borrowed and Owned should derive OpaqueDebug because they stand for a plaintext. They are uninhabited marker enums: no value of either type exists, so their Debug impl can print nothing. The doc now says so, and names where the plaintext actually lives (the description's closure, which has no Debug, and the Pending output).1 parent cec43b5 commit 8bb7ef1
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
| |||
0 commit comments