Skip to content

Commit a01f1c0

Browse files
committed
std::os::unix::OsStrExt is now std::os::unix::ffi::OsStrExt
Also remove obsolete feature gate.
1 parent dec8b60 commit a01f1c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/sine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![allow(non_snake_case)]
2-
#![feature(libc,io)]
2+
#![feature(libc)]
33

44
#[macro_use]
55
extern crate lua;

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use std::{fmt, mem, ptr, str, slice};
1515
use std::ffi::{AsOsStr, CStr, CString};
1616
use std::marker;
1717
use std::num::SignedInt;
18-
use std::os::unix::OsStrExt;
18+
use std::os::unix::ffi::OsStrExt;
1919
use std::path::Path;
2020

2121
/// Human-readable major version string

0 commit comments

Comments
 (0)