mirror of
https://github.com/lune-org/lune.git
synced 2025-01-10 05:09:10 +00:00
10 lines
238 B
Rust
10 lines
238 B
Rust
use anyhow::Result;
|
|
|
|
#[allow(clippy::unnecessary_wraps)]
|
|
pub fn generate_from_type_definitions(contents: &str) -> Result<String> {
|
|
Ok(format!(
|
|
"--> Lune v{}\n\n{}",
|
|
env!("CARGO_PKG_VERSION"),
|
|
contents
|
|
))
|
|
}
|