mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-30 05:12:13 +00:00
Remove unused bounds in type alias.
This commit is contained in:
parent
845b0470a6
commit
29d56900c6
@ -8,7 +8,7 @@ use rocket::State;
|
||||
|
||||
type MyState<'r> = State<'r, usize>;
|
||||
|
||||
type MyVecState<'r, T: 'r> = State<'r, Vec<T>>;
|
||||
type MyVecState<'r, T> = State<'r, Vec<T>>;
|
||||
|
||||
#[get("/")]
|
||||
fn index(state: MyState) { }
|
||||
|
Loading…
Reference in New Issue
Block a user