Skip to content

Commit 15c4a31

Browse files
Fixed the docs
Signed-off-by: Francesco Guardiani <[email protected]>
1 parent 2d760b3 commit 15c4a31

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Diff for: Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ delegate = "^0.4"
1818
uuid = { version = "^0.8", features = ["serde", "v4"] }
1919
hostname = "^0.1"
2020
base64 = "^0.12"
21+
22+
[lib]
23+
name = "cloudevents"

Diff for: src/event/event.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ use std::convert::{TryFrom};
55
use crate::event::attributes::DataAttributesWriter;
66

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

0 commit comments

Comments
 (0)