From cfafc1b7377d34d8c60db7cd386836d39b80af41 Mon Sep 17 00:00:00 2001 From: Aaron Turon Date: Sun, 2 Nov 2014 17:04:32 -0800 Subject: Prelude: rename and consolidate extension traits This commit renames a number of extension traits for slices and string slices, now that they have been refactored for DST. In many cases, multiple extension traits could now be consolidated. Further consolidation will be possible with generalized where clauses. The renamings are consistent with the [new `-Prelude` suffix](https://github.com/rust-lang/rfcs/pull/344). There are probably a few more candidates for being renamed this way, but that is left for API stabilization of the relevant modules. Because this renames traits, it is a: [breaking-change] However, I do not expect any code that currently uses the standard library to actually break. Closes #17917 --- src/libnative/io/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libnative') diff --git a/src/libnative/io/process.rs b/src/libnative/io/process.rs index fed4a46b9df..30c916f3303 100644 --- a/src/libnative/io/process.rs +++ b/src/libnative/io/process.rs @@ -296,7 +296,7 @@ fn spawn_process_os(cfg: ProcessConfig, use std::mem; use std::iter::Iterator; - use std::str::StrSlice; + use std::str::StrPrelude; if cfg.gid.is_some() || cfg.uid.is_some() { return Err(IoError { -- cgit 1.4.1-3-g733a5