We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59ccbc2 commit 9b90184Copy full SHA for 9b90184
src/errors.rs
@@ -12,9 +12,9 @@ use std::sync::Arc;
12
/// The error type used by this crate.
13
#[derive(Clone, Debug)]
14
pub enum Error {
15
- /// IO error.
+ /// XML document cannot be read from or written to underlying source.
16
///
17
- /// `Arc<IoError>` instead of `IoError` since `IoError` is not `Clone`.
+ /// Contains the reference-counted I/O error to make the error type `Clone`able.
18
Io(Arc<IoError>),
19
/// Input decoding error. If [`encoding`] feature is disabled, contains `None`,
20
/// otherwise contains the UTF-8 decoding error
0 commit comments