about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorMatthew Piziak <matthew.piziak@gmail.com>2016-08-31 18:17:44 -0400
committerMatthew Piziak <matthew.piziak@gmail.com>2016-08-31 18:17:44 -0400
commit9a400f0a313c765ed8a39d0863321ff9e88d8961 (patch)
treec2f61483208d603ef0184f7a0744a336f4848c72 /src/libcore
parent89f7e9269826abf44ee39fdde06197aff15f30ff (diff)
downloadrust-9a400f0a313c765ed8a39d0863321ff9e88d8961.tar.gz
rust-9a400f0a313c765ed8a39d0863321ff9e88d8961.zip
replace `../` with `../../std/` to support `core` docs
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/ops.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs
index 78c8fc0ac45..e36539bf17d 100644
--- a/src/libcore/ops.rs
+++ b/src/libcore/ops.rs
@@ -217,7 +217,7 @@ macro_rules! forward_ref_binop {
 /// [std::time::SystemTime] implements `Add<Duration>`, which permits
 /// operations of the form `SystemTime = SystemTime + Duration`.
 ///
-/// [std::time::SystemTime]: ../time/struct.SystemTime.html
+/// [std::time::SystemTime]: ../../std/time/struct.SystemTime.html
 #[lang = "add"]
 #[stable(feature = "rust1", since = "1.0.0")]
 pub trait Add<RHS=Self> {
@@ -290,7 +290,7 @@ add_impl! { usize u8 u16 u32 u64 isize i8 i16 i32 i64 f32 f64 }
 /// [std::time::SystemTime] implements `Sub<Duration>`, which permits
 /// operations of the form `SystemTime = SystemTime - Duration`.
 ///
-/// [std::time::SystemTime]: ../time/struct.SystemTime.html
+/// [std::time::SystemTime]: ../../std/time/struct.SystemTime.html
 #[lang = "sub"]
 #[stable(feature = "rust1", since = "1.0.0")]
 pub trait Sub<RHS=Self> {