]> saetta.ns0.it Git - rust/zakform/commitdiff
c2rs: typo.
authorAndrea Zagli <azagli@libero.it>
Fri, 10 May 2024 09:36:02 +0000 (11:36 +0200)
committerAndrea Zagli <azagli@libero.it>
Fri, 10 May 2024 09:36:02 +0000 (11:36 +0200)
src/bin/c2rs.rs

index 1ad980883d68a80d319d7ee0f4cd766ad34ab565..ce3a4e43e50b948417dfbcc740b3f04f969bf04d 100644 (file)
@@ -351,7 +351,7 @@ fn main() {
 
        /* db struct */
        writeln!(output, "");
-       writeln!(output, "#[derive(Debug, Serialize, Deserialize, FormRow)]");
+       writeln!(output, "#[derive(Debug, Serialize, Deserialize, FromRow)]");
        writeln!(output, "pub struct DomandaDb {{");
        writeln!(output, "{}}}", struct_db);