Skip to content

Commit 9486ae7

Browse files
committed
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](rust-lang/rfcs#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
1 parent e0536d5 commit 9486ae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

set.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ mod test_set {
594594
use prelude::*;
595595

596596
use super::HashSet;
597-
use slice::ImmutablePartialEqSlice;
597+
use slice::PartialEqSlicePrelude;
598598

599599
#[test]
600600
fn test_disjoint() {

0 commit comments

Comments
 (0)