about summary refs log tree commit diff
path: root/src/test/ui/consts/const-pattern-irrefutable.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-12-08 03:50:16 +0000
committerbors <bors@rust-lang.org>2018-12-08 03:50:16 +0000
commit059e6a6f57f4e80d527a3cd8a8afe7f51f01af8e (patch)
tree90e0d7a855be8202279b6bdde6cbdc95d834f07a /src/test/ui/consts/const-pattern-irrefutable.rs
parent0a7798079608b4ff014471ae64b6c8201aa59cdf (diff)
parent003c5b796eae78c8c260bfddfc332a69926a6152 (diff)
downloadrust-059e6a6f57f4e80d527a3cd8a8afe7f51f01af8e.tar.gz
rust-059e6a6f57f4e80d527a3cd8a8afe7f51f01af8e.zip
Auto merge of #56578 - alexreg:cosmetic-1, r=alexreg
Various minor/cosmetic improvements to code

r? @Centril 😄
Diffstat (limited to 'src/test/ui/consts/const-pattern-irrefutable.rs')
-rw-r--r--src/test/ui/consts/const-pattern-irrefutable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/consts/const-pattern-irrefutable.rs b/src/test/ui/consts/const-pattern-irrefutable.rs
index 278864d6de9..2f08d124848 100644
--- a/src/test/ui/consts/const-pattern-irrefutable.rs
+++ b/src/test/ui/consts/const-pattern-irrefutable.rs
@@ -22,5 +22,5 @@ fn main() {
     let a = 4; //~ ERROR refutable pattern in local binding: `0u8..=1u8` not covered
     let c = 4; //~ ERROR refutable pattern in local binding: `0u8..=1u8` not covered
     let d = 4; //~ ERROR refutable pattern in local binding: `0u8..=1u8` not covered
-    fn f() {} // Check that the `NOTE`s still work with an item here (c.f. issue #35115).
+    fn f() {} // Check that the `NOTE`s still work with an item here (cf. issue #35115).
 }