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:
parent
237917b741
commit
675ecff32f
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user