mirror of
https://github.com/fossasia/badgemagic-rs
synced 2025-07-27 05:53:57 +00:00
test: fix creation of PayloadBuffer
This commit is contained in:
parent
cc32d545d4
commit
cd31980b6b
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ impl Timestamp {
|
|||
/// primitives::{PrimitiveStyle, Rectangle, Styled},
|
||||
/// };
|
||||
///
|
||||
/// let mut buffer = PayloadBuffer;
|
||||
/// let mut buffer = PayloadBuffer::new();
|
||||
/// buffer.add_message_drawable(
|
||||
/// Style::default(),
|
||||
/// &Styled::new(
|
||||
|
|
Loading…
Reference in a new issue