From e827c9ab3c3af14f336ef4ab527fd4a22d0cda80 Mon Sep 17 00:00:00 2001 From: Andy Russell Date: Wed, 6 Feb 2019 11:46:41 -0500 Subject: respect alternate flag when formatting impl trait --- src/test/rustdoc/wrapping.rs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/test/rustdoc/wrapping.rs (limited to 'src/test/rustdoc') diff --git a/src/test/rustdoc/wrapping.rs b/src/test/rustdoc/wrapping.rs new file mode 100644 index 00000000000..8d8221bcdf2 --- /dev/null +++ b/src/test/rustdoc/wrapping.rs @@ -0,0 +1,5 @@ +use std::fmt::Debug; + +// @has 'wrapping/fn.foo.html' '//pre[@class="rust fn"]' 'pub fn foo() -> impl Debug' +// @count - '//pre[@class="rust fn"]/br' 0 +pub fn foo() -> impl Debug {} -- cgit 1.4.1-3-g733a5