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

Commit

Permalink
fix &'static lifetime warning
Browse files Browse the repository at this point in the history
  • Loading branch information
JRazek committed Nov 29, 2023
1 parent 5bbab04 commit 039cd41
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 039cd41

Please sign in to comment.