liballoc: elide &'static.

This commit is contained in:
Mazdak Farrokhzad 2019-02-02 12:27:41 +01:00
parent e70c2fbd5c
commit 95a9518957

View File

@ -586,7 +586,7 @@ mod slice_index {
}
mod boundary {
const DATA: &'static str = "abcαβγ";
const DATA: &str = "abcαβγ";
const BAD_START: usize = 4;
const GOOD_START: usize = 3;
@ -650,7 +650,7 @@ mod slice_index {
}
}
const LOREM_PARAGRAPH: &'static str = "\
const LOREM_PARAGRAPH: &str = "\
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse quis lorem \
sit amet dolor ultricies condimentum. Praesent iaculis purus elit, ac malesuada \
quam malesuada in. Duis sed orci eros. Suspendisse sit amet magna mollis, mollis \