Skip to content

Commit 9a400f0

Browse files
replace ../ with ../../std/ to support core docs
1 parent 89f7e92 commit 9a400f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/ops.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ macro_rules! forward_ref_binop {
217217
/// [std::time::SystemTime] implements `Add<Duration>`, which permits
218218
/// operations of the form `SystemTime = SystemTime + Duration`.
219219
///
220-
/// [std::time::SystemTime]: ../time/struct.SystemTime.html
220+
/// [std::time::SystemTime]: ../../std/time/struct.SystemTime.html
221221
#[lang = "add"]
222222
#[stable(feature = "rust1", since = "1.0.0")]
223223
pub trait Add<RHS=Self> {
@@ -290,7 +290,7 @@ add_impl! { usize u8 u16 u32 u64 isize i8 i16 i32 i64 f32 f64 }
290290
/// [std::time::SystemTime] implements `Sub<Duration>`, which permits
291291
/// operations of the form `SystemTime = SystemTime - Duration`.
292292
///
293-
/// [std::time::SystemTime]: ../time/struct.SystemTime.html
293+
/// [std::time::SystemTime]: ../../std/time/struct.SystemTime.html
294294
#[lang = "sub"]
295295
#[stable(feature = "rust1", since = "1.0.0")]
296296
pub trait Sub<RHS=Self> {

0 commit comments

Comments
 (0)