5
0
mirror of git://git.proxmox.com/git/pxar.git synced 2025-03-19 22:50:36 +03:00

encoder: fix some more typos/phrasing

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
(cherry picked from commit 675ecff32fbeff0973eaea016c4b8f3877015adb)
This commit is contained in:
Fabian Grünbichler 2024-04-03 11:11:40 +02:00
parent a195608019
commit a319ee6d76

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.