summaryrefslogtreecommitdiffstats
path: root/src/component.rs
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2020-04-08 23:19:37 -0400
committerBen Boeckel <mathstuf@gmail.com>2020-04-09 10:32:48 -0400
commitd0d8bde43fe1355a740c0f431f7b10f4a2715823 (patch)
tree9ae6ded3369ccdee0878b86a5319ecaeb66aaae7 /src/component.rs
parentf08ee3c272ddf01b1025abb0c8a81fdd15a6bf52 (diff)
error: rename from VObjectErrorKind to VObjectError
The type is a fully-fledged `impl Error` all on its own now.
Diffstat (limited to 'src/component.rs')
-rw-r--r--src/component.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/component.rs b/src/component.rs
index a81cc2d..f6d9ac0 100644
--- a/src/component.rs
+++ b/src/component.rs
@@ -69,7 +69,7 @@ impl Component {
}
impl FromStr for Component {
- type Err = VObjectErrorKind;
+ type Err = VObjectError;
/// Same as `vobject::parse_component`
fn from_str(s: &str) -> VObjectResult<Component> {