Update writer.rs (#1174)
Fixes https://github.com/SeaQL/sea-orm/issues/1173
This commit is contained in:
parent
485f5e4fb0
commit
9af5885632
@ -247,7 +247,7 @@ impl EntityWriter {
|
|||||||
pub fn write_doc_comment(lines: &mut Vec<String>) {
|
pub fn write_doc_comment(lines: &mut Vec<String>) {
|
||||||
let ver = env!("CARGO_PKG_VERSION");
|
let ver = env!("CARGO_PKG_VERSION");
|
||||||
let comments = vec![format!(
|
let comments = vec![format!(
|
||||||
"//! SeaORM Entity. Generated by sea-orm-codegen {}",
|
"//! `SeaORM` Entity. Generated by sea-orm-codegen {}",
|
||||||
ver
|
ver
|
||||||
)];
|
)];
|
||||||
lines.extend(comments);
|
lines.extend(comments);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user