diff options
author | Teddy Wing | 2017-11-11 21:13:46 +0100 |
---|---|---|
committer | Teddy Wing | 2017-11-11 21:13:46 +0100 |
commit | b1e858f8590a676d6df67435859a51867f6d832a (patch) | |
tree | b8c58bba74271441fc57a59a2577fcb125e00410 /src/github.rs | |
parent | e4d6aaec0bebc7d3df0b9c03902cc2e283b6bbb2 (diff) | |
download | kipper-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