From cd31980b6b1ec91173074f948e11938beb488325 Mon Sep 17 00:00:00 2001 From: Valentin Weber Date: Wed, 16 Jul 2025 22:12:02 +0200 Subject: [PATCH] test: fix creation of PayloadBuffer --- src/protocol.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol.rs b/src/protocol.rs index 056a202..c92e448 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -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(