Skip to content

Commit f19b088

Browse files
committed
Remove unused hashes on raw strings
1 parent 0c64c51 commit f19b088

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

crates/docmodel/src/workspace.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ impl WorkspaceCreator {
144144
tex_dir.push("_preamble.tex");
145145
let mut f = fs::File::create(&tex_dir)?;
146146
f.write_all(
147-
br#"\documentclass{article}
147+
br"\documentclass{article}
148148
\title{My Title}
149149
\begin{document}
150-
"#,
150+
",
151151
)?;
152152
tex_dir.pop();
153153
}
@@ -156,8 +156,8 @@ impl WorkspaceCreator {
156156
tex_dir.push("index.tex");
157157
let mut f = fs::File::create(&tex_dir)?;
158158
f.write_all(
159-
br#"Hello, world.
160-
"#,
159+
br"Hello, world.
160+
",
161161
)?;
162162
tex_dir.pop();
163163
}
@@ -166,8 +166,8 @@ impl WorkspaceCreator {
166166
tex_dir.push("_postamble.tex");
167167
let mut f = fs::File::create(&tex_dir)?;
168168
f.write_all(
169-
br#"\end{document}
170-
"#,
169+
br"\end{document}
170+
",
171171
)?;
172172
tex_dir.pop();
173173
}

0 commit comments

Comments
 (0)