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