aboutsummaryrefslogtreecommitdiffstats
path: root/src/github.rs
diff options
context:
space:
mode:
authorTeddy Wing2017-11-11 21:13:46 +0100
committerTeddy Wing2017-11-11 21:13:46 +0100
commitb1e858f8590a676d6df67435859a51867f6d832a (patch)
treeb8c58bba74271441fc57a59a2577fcb125e00410 /src/github.rs
parente4d6aaec0bebc7d3df0b9c03902cc2e283b6bbb2 (diff)
downloadkipper-b1e858f8590a676d6df67435859a51867f6d832a.tar.bz2
CommitRef::new(): Return `Result`
Eliminate `.unwrap()` by returning a `Result`. The `JsonValue::take_string`s return `Options`, so if they're `None`, just fill the struct with the default for `String`, which is `""` empty string.
Diffstat (limited to 'src/github.rs')
0 files changed, 0 insertions, 0 deletions