We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 19bf95e + 839ca84 commit 2cfcbedCopy full SHA for 2cfcbed
src/compiler/errors.rs
@@ -109,7 +109,7 @@ impl Errors {
109
out.push_str(" - Verify that the function is created before used.\r\n");
110
out.push_str(" - Check for similar names.\r\n");
111
out.push_str(" - Create the function using:\r\n");
112
- out.push_str(&format!(" fn {} {{\r\n", function_name));
+ out.push_str(&format!(" {} {{\r\n", function_name));
113
out.push_str(" <code>\r\n");
114
out.push_str(" }");
115
}
0 commit comments