Skip to content

Commit

Permalink
simplify examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby committed Nov 30, 2023
1 parent 718289f commit 3a669a9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions examples/blocking.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
// This example demonstrates use of the `BlockingResolver`.
extern crate c_ares;
extern crate c_ares_resolver;

use std::str;

use c_ares_resolver::BlockingResolver;
Expand Down
3 changes: 0 additions & 3 deletions examples/callback.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
// This example demonstrates use of the callback-based `Resolver`.
extern crate c_ares;
extern crate c_ares_resolver;

use std::sync::mpsc;

use c_ares_resolver::Resolver;
Expand Down
4 changes: 0 additions & 4 deletions examples/futures.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// This example demonstrates use of the `FutureResolver`.
extern crate c_ares;
extern crate c_ares_resolver;
extern crate futures_executor;

use c_ares_resolver::FutureResolver;
use futures_executor::block_on;

Expand Down

0 comments on commit 3a669a9

Please sign in to comment.