Skip to content

Commit ede2920

Browse files
committed
feat: into_data() method for ChunkType public
1 parent d5f98bd commit ede2920

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

body-plz/src/variants/chunked.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ impl ChunkType {
2222
}
2323
}
2424

25-
fn into_data(self) -> BytesMut {
25+
pub fn into_data(self) -> BytesMut {
2626
match self {
2727
ChunkType::Size(buf)
2828
| ChunkType::Chunk(buf)

0 commit comments

Comments
 (0)