Skip to content

Commit

Permalink
fix: Rasn Backend generate_tld() res mapped
Browse files Browse the repository at this point in the history
  • Loading branch information
v0-e committed May 2, 2024
1 parent 2ab3014 commit 216616e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rasn-compiler/src/generator/rasn/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,6 @@ impl Backend for Rasn {
}

fn generate(&self, tld: ToplevelDefinition) -> Result<String, GeneratorError> {
self.generate_tld(tld).and_then(|s| Ok(s.to_string()))
self.generate_tld(tld).map(|ts| ts.to_string())
}
}

0 comments on commit 216616e

Please sign in to comment.