diff options
Diffstat (limited to 'tests/test_expr.rs')
-rw-r--r-- | tests/test_expr.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_expr.rs b/tests/test_expr.rs index e8386d0..a61bd03 100644 --- a/tests/test_expr.rs +++ b/tests/test_expr.rs @@ -10,8 +10,8 @@ fn test_shared_hygiene() { #[test] fn test_repeat() { - const ROCKET_A: &'static str = "/a"; - const ROCKET_B: &'static str = "/b"; + const ROCKET_A: &str = "/a"; + const ROCKET_B: &str = "/b"; macro_rules! routes { ($($route:ident),*) => {{ @@ -27,7 +27,7 @@ fn test_repeat() { #[test] fn test_integer() { - const CONST0: &'static str = "const0"; + const CONST0: &str = "const0"; let pasted = paste!([<CONST 0>]); assert_eq!(pasted, CONST0); |