Skip to content

Commit

Permalink
Remove redundant imports. (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss authored Feb 20, 2024
1 parent e66765f commit 6b38fc9
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion src/easy/form.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use std::ptr;

use crate::easy::{list, List};
use crate::FormError;
use curl_sys;

/// Multipart/formdata for an HTTP POST request.
///
Expand Down
1 change: 0 additions & 1 deletion src/easy/handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use std::ptr;
use std::str;
use std::time::Duration;

use curl_sys;
use libc::c_void;

use crate::easy::handler::{self, InfoType, ReadError, SeekResult, WriteError};
Expand Down
3 changes: 1 addition & 2 deletions src/easy/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ use std::slice;
use std::str;
use std::time::Duration;

use curl_sys;
use libc::{self, c_char, c_double, c_int, c_long, c_ulong, c_void, size_t};
use libc::{c_char, c_double, c_int, c_long, c_ulong, c_void, size_t};
use socket2::Socket;

use crate::easy::form;
Expand Down
1 change: 0 additions & 1 deletion src/easy/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use std::fmt;
use std::ptr;

use crate::Error;
use curl_sys;

/// A linked list of a strings
pub struct List {
Expand Down
1 change: 0 additions & 1 deletion src/multi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use std::ptr;
use std::sync::Arc;
use std::time::Duration;

use curl_sys;
use libc::{c_char, c_int, c_long, c_short, c_void};

#[cfg(unix)]
Expand Down

0 comments on commit 6b38fc9

Please sign in to comment.