about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-06-05 19:41:44 +0200
committerGitHub <noreply@github.com>2021-06-05 19:41:44 +0200
commit9c7ebc15a6706eca0809655d1cf980b5004b29d9 (patch)
treec60e7c2e9e2a17b7e521e2354e79986c86ff5ccd /library/std/src
parent114aff58fdb0d15f2dbef22aa677a7fff01773d8 (diff)
parent38ec87c1885c62ed8c66320ad24c7e535535e4bd (diff)
downloadrust-9c7ebc15a6706eca0809655d1cf980b5004b29d9.tar.gz
rust-9c7ebc15a6706eca0809655d1cf980b5004b29d9.zip
Rollup merge of #85974 - GuillaumeGomez:td-align, r=jsha
td align attribute

This is a follow-up of #85972. I have put this one on its own because it changes the display:

![Screenshot from 2021-06-03 21-49-11](https://user-images.githubusercontent.com/3050060/120703622-d533d280-c4b5-11eb-9519-ea1131a40bee.png)

Without align:

![Screenshot from 2021-06-03 21-49-15](https://user-images.githubusercontent.com/3050060/120703623-d5cc6900-c4b5-11eb-95f9-878d3915c7fb.png)

I also opened an issue about it: raphlinus/pulldown-cmark#533. However, I'm not sure if this is the right course of action... Should we instead ignore the warning?

r? ``@jsha``
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/time.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/time.rs b/library/std/src/time.rs
index 89addae0789..899cf6841ee 100644
--- a/library/std/src/time.rs
+++ b/library/std/src/time.rs
@@ -82,7 +82,7 @@ pub use core::time::Duration;
 /// Currently, the following system calls are being used to get the current time using `now()`:
 ///
 /// |  Platform |               System call                                            |
-/// |:---------:|:--------------------------------------------------------------------:|
+/// |-----------|----------------------------------------------------------------------|
 /// | SGX       | [`insecure_time` usercall]. More information on [timekeeping in SGX] |
 /// | UNIX      | [clock_gettime (Monotonic Clock)]                                    |
 /// | Darwin    | [mach_absolute_time]                                                 |
@@ -158,7 +158,7 @@ pub struct Instant(time::Instant);
 /// Currently, the following system calls are being used to get the current time using `now()`:
 ///
 /// |  Platform |               System call                                            |
-/// |:---------:|:--------------------------------------------------------------------:|
+/// |-----------|----------------------------------------------------------------------|
 /// | SGX       | [`insecure_time` usercall]. More information on [timekeeping in SGX] |
 /// | UNIX      | [clock_gettime (Realtime Clock)]                                     |
 /// | Darwin    | [gettimeofday]                                                       |