Nercury / confluence-rs

Access and modify Atlassian Confluence pages from Rust
Apache License 2.0
23 stars 10 forks source link

Use try/? instead of unwrap in HTTP requests #8

Closed clonejo closed 5 years ago

clonejo commented 5 years ago

Compiles with 1.34.2-x86_64-unknown-linux-gnu.

Found some unwrap()s which could be replaced by ? because the error type already fits. unwrap() on IO calls should be avoided anyway.

Nercury commented 5 years ago

Great, thanks!