Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #443 from JRazek/elided_lifetimes_in_associated_co…
Browse files Browse the repository at this point in the history
…nstant-fixup

fix &'static lifetime warning
  • Loading branch information
philpax authored Nov 29, 2023
2 parents 5bbab04 + 039cd41 commit 581b2a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/llm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ macro_rules! define_models {

impl ModelArchitecture {
/// All available model architectures
pub const ALL: &[Self] = &[
pub const ALL: &'static [Self] = &[
$(
#[cfg(feature = $model_lowercase_str)]
Self::$model_pascalcase,
Expand Down

0 comments on commit 581b2a0

Please sign in to comment.