Refactor checking if a `Lifetime` is static
Simply move the test for `keywords::StaticLifetime` into the `Lifetime` impl, to match how elision is checked.
Showing
想要评论请 注册 或 登录
Simply move the test for `keywords::StaticLifetime` into the `Lifetime` impl, to match how elision is checked.