We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cee10fe commit 15dee03Copy full SHA for 15dee03
src/parsers/mod.rs
@@ -294,11 +294,6 @@ impl<R: Read> BencodeParser<R> {
294
/// # Errors
295
///
296
/// Will return an error if the writer can't write to the output.
297
- ///
298
- /// # Panics
299
300
- /// Will panic if the end of bencoded value (list or dictionary) was not
301
- /// expected.
302
pub fn end_list_or_dict<W: Writer>(&mut self, writer: &mut W) -> Result<(), error::Error> {
303
match self.stack.peek() {
304
State::ExpectingFirstListItemOrEnd | State::ExpectingNextListItem => {
0 commit comments