Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
fix(attachement): return error instead of todo
Browse files Browse the repository at this point in the history
  • Loading branch information
edytapawlak committed Oct 1, 2021
1 parent b6311ea commit 782989e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/event/event_data/delegated/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use super::{DummyEvent, EventData};
use super::{InceptionEvent, RotationEvent};
use super::InceptionEvent;
use crate::{
derivation::self_addressing::SelfAddressing,
error::Error,
Expand Down
2 changes: 1 addition & 1 deletion src/event_message/attachment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl FromStr for Attachment {
Err(Error::SemanticError("Can't parse counter".into()))
}
}
_ => Err(Error::DeserializeError("Unknown prefix code".into())),
_ => Err(Error::DeserializeError("Unknown counter code".into())),
}
}
}
Expand Down

0 comments on commit 782989e

Please sign in to comment.