about summary refs log tree commit diff
path: root/tests/run-make/rustdoc-scrape-examples-invalid-expr/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/rustdoc-scrape-examples-invalid-expr/src/lib.rs')
-rw-r--r--tests/run-make/rustdoc-scrape-examples-invalid-expr/src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/run-make/rustdoc-scrape-examples-invalid-expr/src/lib.rs b/tests/run-make/rustdoc-scrape-examples-invalid-expr/src/lib.rs
index c30c99dec60..ba8ee66fc78 100644
--- a/tests/run-make/rustdoc-scrape-examples-invalid-expr/src/lib.rs
+++ b/tests/run-make/rustdoc-scrape-examples-invalid-expr/src/lib.rs
@@ -1 +1,3 @@
-pub const fn f() -> usize { 5 }
+pub const fn f() -> usize {
+    5
+}