aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/git-sugpatch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/git-sugpatch.rs')
-rw-r--r--src/bin/git-sugpatch.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/git-sugpatch.rs b/src/bin/git-sugpatch.rs
index 1e21923..4b0a24b 100644
--- a/src/bin/git-sugpatch.rs
+++ b/src/bin/git-sugpatch.rs
@@ -21,5 +21,5 @@ fn main() {
let suggestion = client.fetch(&url.comment_id).unwrap();
- print!("{}", suggestion.diff());
+ print!("{}", suggestion.diff().unwrap());
}