5
0
mirror of git://git.proxmox.com/git/pxar.git synced 2025-03-11 20:58:47 +03:00

encoder: fix some more typos/phrasing

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2024-04-03 11:11:40 +02:00
parent 237917b741
commit 675ecff32f

View File

@ -186,10 +186,10 @@ where
/// Error conditions caused by wrong usage of this crate.
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum EncodeError {
/// The user dropped a `File` without without finishing writing all of its contents.
/// The user dropped a `File` without finishing writing all of its contents.
///
/// This is required because the payload lengths is written out at the beginning and decoding
/// requires there to follow the right amount of data.
/// Completely writing the contents is required because the payload length is written out first
/// and decoding requires the the encoded length and the following data to match.
IncompleteFile,
/// The user dropped a directory without finalizing it.