From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- .../run-make/rustdoc-scrape-examples-ordering/examples/ex1.rs | 11 +++++++++++ .../run-make/rustdoc-scrape-examples-ordering/examples/ex2.rs | 8 ++++++++ 2 files changed, 19 insertions(+) create mode 100644 src/test/run-make/rustdoc-scrape-examples-ordering/examples/ex1.rs create mode 100644 src/test/run-make/rustdoc-scrape-examples-ordering/examples/ex2.rs (limited to 'src/test/run-make/rustdoc-scrape-examples-ordering/examples') diff --git a/src/test/run-make/rustdoc-scrape-examples-ordering/examples/ex1.rs b/src/test/run-make/rustdoc-scrape-examples-ordering/examples/ex1.rs new file mode 100644 index 000000000..05c18007b --- /dev/null +++ b/src/test/run-make/rustdoc-scrape-examples-ordering/examples/ex1.rs @@ -0,0 +1,11 @@ +fn main() { + foobar::ok(0); + + // this is a + + // .. + + // BIG + + // item +} diff --git a/src/test/run-make/rustdoc-scrape-examples-ordering/examples/ex2.rs b/src/test/run-make/rustdoc-scrape-examples-ordering/examples/ex2.rs new file mode 100644 index 000000000..de21d9061 --- /dev/null +++ b/src/test/run-make/rustdoc-scrape-examples-ordering/examples/ex2.rs @@ -0,0 +1,8 @@ +fn main() { + foobar::ok(1); + // small item +} + +fn f() { + foobar::ok(2); +} -- cgit v1.2.3