Skip to content

Commit

Permalink
Fixed the docs
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Guardiani <[email protected]>
  • Loading branch information
slinkydeveloper committed Mar 13, 2020
1 parent 2d760b3 commit 15c4a31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ delegate = "^0.4"
uuid = { version = "^0.8", features = ["serde", "v4"] }
hostname = "^0.1"
base64 = "^0.12"

[lib]
name = "cloudevents"
4 changes: 2 additions & 2 deletions src/event/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use std::convert::{TryFrom};
use crate::event::attributes::DataAttributesWriter;

/// Data structure that represents a [CloudEvent](https://github.com/cloudevents/spec/blob/master/spec.md).
/// It provides methods to get the attributes through [`AttributesReader`](cloudevents::event::AttributesReader)
/// and write them through [`AttributesWriter`](cloudevents::event::AttributesWriter).
/// It provides methods to get the attributes through [`AttributesReader`]
/// and write them through [`AttributesWriter`].
/// It also provides methods to read and write the [event data](https://github.com/cloudevents/spec/blob/master/spec.md#event-data)
/// ```
/// use cloudevents::Event;
Expand Down

0 comments on commit 15c4a31

Please sign in to comment.