Skip to content

Commit 5daf248

Browse files
update id() definition
1 parent 844bf25 commit 5daf248

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

public/templates/accountsParserPage.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl yellowstone_vixen_core::Parser for AccountParser {
109109
type Input = yellowstone_vixen_core::AccountUpdate;
110110
type Output = {{ programName | pascalCase }}ProgramState;
111111

112-
fn id(&self) -> std::borrow::Cow<str> {
112+
fn id(&self) -> std::borrow::Cow<'static, str> {
113113
"{{ programName | snakeCase }}::AccountParser".into()
114114
}
115115

public/templates/instructionsParserPage.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl yellowstone_vixen_core::Parser for InstructionParser {
3838
#[cfg(feature = "shared-data")]
3939
type Output = InstructionUpdateOutput<{{ programName | pascalCase }}ProgramIx>;
4040

41-
fn id(&self) -> std::borrow::Cow<str> {
41+
fn id(&self) -> std::borrow::Cow<'static, str> {
4242
"{{ programName | pascalCase }}::InstructionParser".into()
4343
}
4444

0 commit comments

Comments
 (0)