diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-01-24 11:21:53 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-01-24 11:21:53 +0800 |
| commit | 14758a72e4d14002021190439b50ed724a051673 (patch) | |
| tree | d3c479abdf0324b143e34c5329c50dd594b05347 | |
| parent | 570b972535747751c9ec0acf676fa6dcab7adc43 (diff) | |
Fix typo in template file
Change JVStatusRenderer to JVUnknownRenderer for consistency
with other JVUnknown* types in the template
| -rw-r--r-- | templates/command.rs.template | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/command.rs.template b/templates/command.rs.template index 98d495d..9ab2d42 100644 --- a/templates/command.rs.template +++ b/templates/command.rs.template @@ -25,7 +25,7 @@ impl JVUnknownInput, // Input Data JVUnknownCollect, // Collect Resources JVUnknownOutput, // Output Data - JVStatusRenderer, // Default Renderer + JVUnknownRenderer, // Default Renderer > for JVUnknownCommand { async fn prepare( @@ -54,9 +54,9 @@ impl } } -pub struct JVStatusRenderer; +pub struct JVUnknownRenderer; -impl JVResultRenderer<JVUnknownOutput> for JVStatusRenderer { +impl JVResultRenderer<JVUnknownOutput> for JVUnknownRenderer { async fn render(_data: &JVUnknownOutput) -> Result<JVRenderResult, CmdRenderError> { todo!() } |
