Commit 549576f6 authored by Ryan Hunt's avatar Ryan Hunt
Browse files

Avoid adding whitespace errors

parent d4cb3957
......@@ -70,9 +70,12 @@ impl Source for Documentation {
}
for line in &self.doc_comment {
if config.language != Language::C {
out.write("// ");
out.write("//");
} else {
out.write(" * ");
out.write(" *");
}
if line.len() != 0 {
out.write(" ");
}
out.write(line);
out.new_line();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment