File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1860,10 +1860,6 @@ impl PrimitiveType {
18601860 } )
18611861 }
18621862
1863- crate fn to_url_str ( & self ) -> & ' static str {
1864- self . as_str ( )
1865- }
1866-
18671863 crate fn as_sym ( & self ) -> Symbol {
18681864 use PrimitiveType :: * ;
18691865 match self {
Original file line number Diff line number Diff line change @@ -574,7 +574,7 @@ fn primitive_link(
574574 f,
575575 "<a class=\" primitive\" href=\" {}primitive.{}.html\" >" ,
576576 "../" . repeat( len) ,
577- prim. to_url_str ( )
577+ prim. as_str ( )
578578 ) ?;
579579 needs_termination = true ;
580580 }
@@ -603,7 +603,7 @@ fn primitive_link(
603603 f,
604604 "<a class=\" primitive\" href=\" {}/primitive.{}.html\" >" ,
605605 loc. join( "/" ) ,
606- prim. to_url_str ( )
606+ prim. as_str ( )
607607 ) ?;
608608 needs_termination = true ;
609609 }
You can’t perform that action at this time.
0 commit comments