Skip to content

Commit a6ef8c3

Browse files
authored
Formatting of comments in code examples (#807)
1 parent 05a781c commit a6ef8c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/features/explicit-resource-management.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ async function processData(response) {
7979
}
8080
}
8181
} finally {
82-
reader.releaseLock(); // The reader's lock on the stream will be always released.
82+
// The reader's lock on the stream will be always released.
83+
reader.releaseLock();
8384
}
8485

8586
return processedData;
@@ -182,7 +183,7 @@ Let’s take a look at each method and see an example of it:
182183
});
183184
using newStack = stack.move();
184185
}
185-
// At this point just newStack exists and the resource inside it will be disposed.
186+
// Here just the newStack exists and the resource inside it will be disposed.
186187
// Reader lock released.
187188
```
188189

0 commit comments

Comments
 (0)