File tree 2 files changed +0
-5
lines changed 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -1399,9 +1399,6 @@ Section: Comparing strings
1399
1399
*/
1400
1400
1401
1401
/// Bytewise slice equality
1402
- /// NOTE: This function is (ab)used in rustc::middle::trans::_match
1403
- /// to compare &[u8] byte slices that are not necessarily valid UTF-8.
1404
- #[ lang = "str_eq" ]
1405
1402
#[ inline]
1406
1403
fn eq_slice ( a : & str , b : & str ) -> bool {
1407
1404
a. as_bytes ( ) == b. as_bytes ( )
Original file line number Diff line number Diff line change @@ -280,8 +280,6 @@ language_item_table! {
280
280
EqTraitLangItem , "eq" , eq_trait;
281
281
OrdTraitLangItem , "ord" , ord_trait;
282
282
283
- StrEqFnLangItem , "str_eq" , str_eq_fn;
284
-
285
283
// A number of panic-related lang items. The `panic` item corresponds to
286
284
// divide-by-zero and various panic cases with `match`. The
287
285
// `panic_bounds_check` item is for indexing arrays.
You can’t perform that action at this time.
0 commit comments