Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/call.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#![macro_use]
use libc;

use crate::Error;

Expand Down Expand Up @@ -54,8 +53,6 @@ mod impls {
use std::ffi::CString;
use std::ptr;

use libc;

use crate::call::Convert;
use crate::{raw, BranchType, ConfigLevel, Direction, ObjectType, ResetType};
use crate::{
Expand Down
1 change: 0 additions & 1 deletion src/commit.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use libc;
use std::iter::FusedIterator;
use std::marker;
use std::mem;
Expand Down
1 change: 0 additions & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use libc;
use std::ffi::CString;
use std::marker;
use std::path::{Path, PathBuf};
Expand Down
1 change: 0 additions & 1 deletion src/cred.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use std::mem;
use std::path::Path;
use std::process::{Command, Stdio};
use std::ptr;
use url;

use crate::util::Binding;
use crate::{raw, Config, Error, IntoCString};
Expand Down
1 change: 0 additions & 1 deletion src/oid.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use libc;
use std::cmp::Ordering;
use std::fmt;
use std::hash::{Hash, Hasher};
Expand Down
2 changes: 1 addition & 1 deletion src/pathspec.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use libc::size_t;
use std::iter::{FusedIterator, IntoIterator};
use std::iter::FusedIterator;
use std::marker;
use std::ops::Range;
use std::path::Path;
Expand Down
1 change: 0 additions & 1 deletion src/remote.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use libc;
use raw::git_strarray;
use std::iter::FusedIterator;
use std::marker;
Expand Down
1 change: 0 additions & 1 deletion src/repo.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use libc::{c_char, c_int, c_uint, c_void, size_t};
use std::env;
use std::ffi::{CStr, CString, OsStr};
use std::iter::IntoIterator;
use std::mem;
use std::path::{Path, PathBuf};
use std::ptr;
Expand Down
1 change: 0 additions & 1 deletion src/signature.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use libc;
use std::ffi::CString;
use std::fmt;
use std::marker;
Expand Down
2 changes: 1 addition & 1 deletion src/tree.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use libc::{self, c_char, c_int, c_void};
use libc::{c_char, c_int, c_void};
use std::cmp::Ordering;
use std::ffi::{CStr, CString};
use std::iter::FusedIterator;
Expand Down
1 change: 0 additions & 1 deletion src/util.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use libc::{c_char, c_int, size_t};
use std::cmp::Ordering;
use std::ffi::{CString, OsStr, OsString};
use std::iter::IntoIterator;
use std::path::{Component, Path, PathBuf};

use crate::{raw, Error};
Expand Down