summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/intra-doc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/intra-doc')
-rw-r--r--tests/rustdoc/intra-doc/prim-associated-traits.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/intra-doc/prim-associated-traits.rs b/tests/rustdoc/intra-doc/prim-associated-traits.rs
index 8639a24f7..71d7d2189 100644
--- a/tests/rustdoc/intra-doc/prim-associated-traits.rs
+++ b/tests/rustdoc/intra-doc/prim-associated-traits.rs
@@ -41,6 +41,6 @@ pub struct Number {
pub u_128: u128,
pub ch: char,
pub boolean: bool,
- pub string: str,
+ pub string: &'static str,
pub n: !,
}