File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -144,8 +144,8 @@ impl SourceId {
144144 }
145145
146146 /// A view of the `SourceId` that can be `Display`ed as a URL.
147- pub fn as_url ( & self ) -> SourceIdIntoUrl < ' _ > {
148- SourceIdIntoUrl {
147+ pub fn as_url ( & self ) -> SourceIdAsUrl < ' _ > {
148+ SourceIdAsUrl {
149149 inner : & * self . inner ,
150150 }
151151 }
@@ -545,11 +545,11 @@ impl Hash for SourceId {
545545}
546546
547547/// A `Display`able view into a `SourceId` that will write it as a url
548- pub struct SourceIdIntoUrl < ' a > {
548+ pub struct SourceIdAsUrl < ' a > {
549549 inner : & ' a SourceIdInner ,
550550}
551551
552- impl < ' a > fmt:: Display for SourceIdIntoUrl < ' a > {
552+ impl < ' a > fmt:: Display for SourceIdAsUrl < ' a > {
553553 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
554554 match * self . inner {
555555 SourceIdInner {
You can’t perform that action at this time.
0 commit comments