Skip to content

Commit cc19e0e

Browse files
authored
Fix unterminated code block in a documentation example (#399)
Without this the documention for `WithPrevious` is not rendered properly.
2 parents 729ecf7 + 3bd0f1e commit cc19e0e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414

1515
## Bug Fixes
1616

17-
<!-- Here goes notable bug fixes that are worth a special mention or explanation -->
17+
- Fix unterminated code block in a documentation example for `WithPrevious`.

src/frequenz/channels/experimental/_with_previous.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ class WithPrevious(Generic[ChannelMessageT]):
8080
# This message will be received as it is bigger than the previous one (1).
8181
await sender.send(2)
8282
assert await receiver.receive() == 2
83+
```
8384
"""
8485

8586
def __init__(

0 commit comments

Comments
 (0)