Skip to content

Commit

Permalink
Fixup examples
Browse files Browse the repository at this point in the history
  • Loading branch information
olix0r committed Nov 10, 2020
1 parent 34e60f7 commit 8dd88fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/client_json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#[macro_use]
extern crate serde_derive;

use bytes::buf::BufExt as _;
use bytes::Buf as _;
use hyper::Client;

// A simple type alias so as to DRY.
Expand Down
2 changes: 1 addition & 1 deletion examples/web_api.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![deny(warnings)]

use bytes::buf::BufExt;
use bytes::Buf;
use futures_util::{stream, StreamExt};
use hyper::client::HttpConnector;
use hyper::service::{make_service_fn, service_fn};
Expand Down

0 comments on commit 8dd88fb

Please sign in to comment.