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 {
144
144
}
145
145
146
146
/// 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 {
149
149
inner : & * self . inner ,
150
150
}
151
151
}
@@ -545,11 +545,11 @@ impl Hash for SourceId {
545
545
}
546
546
547
547
/// A `Display`able view into a `SourceId` that will write it as a url
548
- pub struct SourceIdIntoUrl < ' a > {
548
+ pub struct SourceIdAsUrl < ' a > {
549
549
inner : & ' a SourceIdInner ,
550
550
}
551
551
552
- impl < ' a > fmt:: Display for SourceIdIntoUrl < ' a > {
552
+ impl < ' a > fmt:: Display for SourceIdAsUrl < ' a > {
553
553
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
554
554
match * self . inner {
555
555
SourceIdInner {
You can’t perform that action at this time.
0 commit comments