Skip to content

Commit

Permalink
refactor(ast_tools): rename GeneratorOutput::Raw -> Text
Browse files Browse the repository at this point in the history
  • Loading branch information
ottomated authored and overlookmotel committed Oct 20, 2024
1 parent dbc81f0 commit b3dd45f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/ast_tools/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl From<GeneratorOutput> for SideEffect {
fn from(output: GeneratorOutput) -> Self {
match output {
GeneratorOutput::Rust { path, tokens } => Self::from((path, tokens)),
GeneratorOutput::Raw { path, content } => Self { path, content: content.into() },
GeneratorOutput::Text { path, content } => Self { path, content: content.into() },
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion tasks/ast_tools/src/generators/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub enum GeneratorOutput {
tokens: TokenStream,
},
#[expect(dead_code)]
Raw {
Text {
path: PathBuf,
content: String,
},
Expand Down

0 comments on commit b3dd45f

Please sign in to comment.