Skip to content

Commit d5ca031

Browse files
committed
use :: to disambiguate use
Without this, rustc 1.48 (as of now, rustc nightly-2020-10-04) is expected to fail to build rust-systemd. Rustc issue: rust-lang/rust#77586
1 parent daa376c commit d5ca031

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/daemon.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use super::ffi::{c_int, pid_t, size_t};
66
use super::{Error, Result};
77
use cstr_argument::CStrArgument;
8-
use ffi::daemon as ffi;
8+
use ::ffi::daemon as ffi;
99
use libc::{c_char, c_uint};
1010
use libc::{SOCK_DGRAM, SOCK_RAW, SOCK_STREAM};
1111
use std::io::ErrorKind;

src/login.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use super::ffi::{c_char, c_uint, pid_t, uid_t};
22
use super::{free_cstring, Result};
33
use cstr_argument::CStrArgument;
4-
use ffi::login as ffi;
4+
use ::ffi::login as ffi;
55
use std::ptr;
66

77
/// Systemd slice and unit types

0 commit comments

Comments
 (0)