about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-02-05 13:14:22 +0100
committerGitHub <noreply@github.com>2020-02-05 13:14:22 +0100
commitd694f2252122450e47ceaafe416784402210d927 (patch)
tree987a005df239c05f81bd13748055f112a9133c5b /src/libstd
parent4ff8fb9cb210a9f06e0eafc364bd12de2b67f087 (diff)
parentb0a9e949e7afc1a77b6f73a0d3fa6b6081763a57 (diff)
downloadrust-d694f2252122450e47ceaafe416784402210d927.tar.gz
rust-d694f2252122450e47ceaafe416784402210d927.zip
Rollup merge of #68762 - ForNeVeR:patch-1, r=alexcrichton
Strip unnecessary subexpression

It became unnecessary since a06baa56b95674fc626b3c3fd680d6a65357fe60 reformatted the file. The comment is currently a bit misleading.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/sys/unix/time.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/time.rs b/src/libstd/sys/unix/time.rs
index 23104419978..6707f790cab 100644
--- a/src/libstd/sys/unix/time.rs
+++ b/src/libstd/sys/unix/time.rs
@@ -282,7 +282,6 @@ mod inner {
             (cfg!(target_os = "linux") && cfg!(target_arch = "x86_64"))
                 || (cfg!(target_os = "linux") && cfg!(target_arch = "x86"))
                 || cfg!(target_os = "fuchsia")
-                || false // last clause, used so `||` is always trailing above
         }
 
         pub fn checked_sub_instant(&self, other: &Instant) -> Option<Duration> {