aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-01-02 21:09:47 +0100
committerHarald Eilertsen <haraldei@anduin.net>2020-01-02 21:09:47 +0100
commit7f306445cb78d52f598eca1810dc2c5002e34a4a (patch)
tree1043d1522e4fa5afd3fe7fbe341b4745fb46cd02 /examples
parentbee7318ca808d36b29cbf6021ec47252ab2305f8 (diff)
downloadrust-zotapi-7f306445cb78d52f598eca1810dc2c5002e34a4a.tar.gz
rust-zotapi-7f306445cb78d52f598eca1810dc2c5002e34a4a.tar.bz2
rust-zotapi-7f306445cb78d52f598eca1810dc2c5002e34a4a.zip
No need for extern crate in Rust 2018.
Diffstat (limited to 'examples')
-rw-r--r--examples/zot/abook.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/zot/abook.rs b/examples/zot/abook.rs
index bceaacc..7e91981 100644
--- a/examples/zot/abook.rs
+++ b/examples/zot/abook.rs
@@ -15,9 +15,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-extern crate zotapi;
-extern crate serde_json;
-
pub fn fetch(client: &zotapi::Client, raw: bool) {
match client.abook().fetch() {
Ok(payload) => {