Skip to content

Commit

Permalink
remove extra lifetime
Browse files Browse the repository at this point in the history
Reviewed By: iguridi

Differential Revision: D61846943

fbshipit-source-id: ea4e462d1faea6f33c14a3ea99d2210e92d790e8
  • Loading branch information
perehonchuk authored and facebook-github-bot committed Aug 28, 2024
1 parent b3613c1 commit 38a87b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starlark-rust/starlark_derive/src/any_lifetime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pub(crate) fn derive_provides_static_type(
}

/// Single lifetime parameter for `ProvidesStaticType`
fn pst_lifetime<'a>(generics: &'a syn::Generics) -> syn::Result<syn::Lifetime> {
fn pst_lifetime(generics: &syn::Generics) -> syn::Result<syn::Lifetime> {
let generics = GenericsUtil::new(generics);
let lifetime = generics
.assert_at_most_one_lifetime_param()?
Expand Down

0 comments on commit 38a87b3

Please sign in to comment.