From 3da63395fd9c72ce975bd7b844c31c74dab9b190 Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Fri, 10 Oct 2025 00:32:05 -0700 Subject: [PATCH] fix EncodedOption docs --- lib/encoding/src/option.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/encoding/src/option.rs b/lib/encoding/src/option.rs index 10cba01a1..c3c5b035e 100644 --- a/lib/encoding/src/option.rs +++ b/lib/encoding/src/option.rs @@ -3,11 +3,11 @@ use bytes::Bytes; use crate::{CastBytes, Decode, Encode}; -/// Message wrapper to handle Error unwrapping +/// Message wrapper to handle Option unwrapping /// anywhere in the en/decoding chain. /// ```markdown -/// | -- u8[] -- | ----- u8 ------ | -/// | | 0: Ok or _: Err | +/// | -- u8[] -- | ------- u8 ------- | +/// | | 0: Some or _: None | /// ``` #[derive(Clone, Debug)] pub struct EncodedOption(T);