File tree 2 files changed +2
-6
lines changed
2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1860,10 +1860,6 @@ impl PrimitiveType {
1860
1860
} )
1861
1861
}
1862
1862
1863
- crate fn to_url_str ( & self ) -> & ' static str {
1864
- self . as_str ( )
1865
- }
1866
-
1867
1863
crate fn as_sym ( & self ) -> Symbol {
1868
1864
use PrimitiveType :: * ;
1869
1865
match self {
Original file line number Diff line number Diff line change @@ -574,7 +574,7 @@ fn primitive_link(
574
574
f,
575
575
"<a class=\" primitive\" href=\" {}primitive.{}.html\" >" ,
576
576
"../" . repeat( len) ,
577
- prim. to_url_str ( )
577
+ prim. as_str ( )
578
578
) ?;
579
579
needs_termination = true ;
580
580
}
@@ -603,7 +603,7 @@ fn primitive_link(
603
603
f,
604
604
"<a class=\" primitive\" href=\" {}/primitive.{}.html\" >" ,
605
605
loc. join( "/" ) ,
606
- prim. to_url_str ( )
606
+ prim. as_str ( )
607
607
) ?;
608
608
needs_termination = true ;
609
609
}
You can’t perform that action at this time.
0 commit comments