Skip to content

Commit e560700

Browse files
committed
docs bare-static-string
1 parent b8e7b7f commit e560700

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/ui/str/str-static-literal.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! Tests that `&'static str` literals are correctly typed and usable.
2+
13
//@ run-pass
24

35
pub fn main() {

0 commit comments

Comments
 (0)