File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1162,7 +1162,7 @@ impl ExtendedProcedureInfo {
11621162 ) -> Option < & str > {
11631163 self . name
11641164 . get_or_insert_with ( || {
1165- if proc. type_index == TypeIndex ( 0 ) && !proc. name . as_bytes ( ) . starts_with ( & [ b'?' ] ) {
1165+ if proc. type_index == TypeIndex ( 0 ) && !proc. name . as_bytes ( ) . starts_with ( b"?" ) {
11661166 // We have no type, so proc.name might be an argument-less string.
11671167 // If we have a public symbol at this address which is a decorated name
11681168 // (starts with a '?'), prefer to use that because it'll usually include
@@ -1173,7 +1173,7 @@ impl ExtendedProcedureInfo {
11731173 } )
11741174 {
11751175 if let Some ( name) = global_functions[ public_fun_index] . name {
1176- if name. as_bytes ( ) . starts_with ( & [ b'?' ] ) {
1176+ if name. as_bytes ( ) . starts_with ( b"?" ) {
11771177 return Some ( name. to_string ( ) . to_string ( ) ) ;
11781178 }
11791179 }
You can’t perform that action at this time.
0 commit comments