summaryrefslogtreecommitdiffstats
path: root/examples/changelog/src/changelog.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/changelog/src/changelog.rs')
-rw-r--r--examples/changelog/src/changelog.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/changelog/src/changelog.rs b/examples/changelog/src/changelog.rs
index 4aeb9574..275afec7 100644
--- a/examples/changelog/src/changelog.rs
+++ b/examples/changelog/src/changelog.rs
@@ -306,7 +306,7 @@ impl Contribution {
pub struct PullRequest {
pub id: u64,
pub title: String,
- pub description: String,
+ pub description: Option<String>,
pub labels: Vec<String>,
pub author: String,
}
@@ -334,7 +334,7 @@ impl PullRequest {
#[derive(Deserialize)]
struct Schema {
title: String,
- body: String,
+ body: Option<String>,
user: User,
labels: Vec<Label>,
}