Skip to content

Commit 26b792f

Browse files
author
Tania Mathern
committed
fix: Docs
1 parent 22d6be4 commit 26b792f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docs/native-resources-management.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ A `Reader` wraps a stream (or opens a file), passes it to the native library, an
152152
```mermaid
153153
stateDiagram-v2
154154
direction LR
155-
[*] --> ACTIVE : Reader("image.jpg")
155+
[*] --> UNINITIALIZED : __init__()
156+
UNINITIALIZED --> ACTIVE : Reader("image.jpg")
156157
ACTIVE --> CLOSED : close() / exit with block
157158
CLOSED --> [*]
158159
```
@@ -168,7 +169,8 @@ A `Builder` follows the same pattern as Reader, with one difference: **signing c
168169
```mermaid
169170
stateDiagram-v2
170171
direction LR
171-
[*] --> ACTIVE : Builder.from_json(manifest)
172+
[*] --> UNINITIALIZED : __init__()
173+
UNINITIALIZED --> ACTIVE : Builder.from_json(manifest)
172174
ACTIVE --> CLOSED : .sign() or close()
173175
CLOSED --> [*]
174176

0 commit comments

Comments
 (0)