Skip to content

Commit b481f54

Browse files
committed
docs(amf0): fix
1 parent 997b818 commit b481f54

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

crates/amf0/src/decoder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use crate::{Amf0Array, Amf0Error, Amf0Marker, Amf0Object, Amf0Value};
1111

1212
/// AMF0 decoder.
1313
///
14-
/// Provides various functions to decode different types of AMF0 values from a buffer implementing [`bytes::Buf`].
14+
/// Provides various functions to decode different types of AMF0 values.
1515
#[derive(Debug, Clone)]
1616
pub struct Amf0Decoder<R> {
1717
pub(crate) reader: R,

crates/amf0/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
//! # let payload = &[0x02, 0, 1, b'a'];
2121
//! # let bytes = bytes::Bytes::from_static(payload);
2222
//! # let mut writer = Vec::new();
23-
//!
2423
//! // Decode a string value from bytes
2524
//! let value: String = scuffle_amf0::from_bytes(bytes)?;
2625
//!

0 commit comments

Comments
 (0)