File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ Because [`push_str()`] has the following signature:
179
179
fn push_str(&mut self, string: &str) {
180
180
```
181
181
182
- [ `push_str()` ] : http://doc.rust-lang.org /collections/string/struct.String.html#method.push_str
182
+ [ `push_str()` ] : .. /collections/string/struct.String.html#method.push_str
183
183
184
184
This automatic referencing behavior works because methods have a clear receiver
185
185
— the type of ` self ` — and in most cases it’s clear given the receiver and name
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ enum IpAddr {
116
116
}
117
117
```
118
118
119
- [ IpAddr ] : http://doc.rust-lang.org /std/net/enum.IpAddr.html
119
+ [ IpAddr ] : .. /std/net/enum.IpAddr.html
120
120
121
121
Here’s an enum with a variety of types embedded in its variants:
122
122
You can’t perform that action at this time.
0 commit comments