You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for the boring point, when running cargo build, the errors below was occurred.
$ cargo build --target wasm32-wasi --release
Compiling rust-basic v0.1.0 (/workspaces/wasm-workers-server/examples/rust-basic)
error: invalid format string: expected `'}'`, found `'m'`
--> src/main.rs:19:16
|
19 | body { max-width: 1000px; }
| - ^ expected `}` in format string
| |
| because of this opening brace
|
= note: if you intended to print `{`, you can escape it using `{{`
I think { and } should be replaced to {{ and }}.
<style>
body {{ max-width: 1000px; }}
main {{ margin: 5rem 0; }}
h1, p {{ text-align: center; }}
h1 {{ margin-bottom: 2rem; }}
pre {{ font-size: .9rem; }}
pre > code {{ padding: 2rem; }}
p {{ margin-top: 2rem; }}
</style>
Thank you.
The text was updated successfully, but these errors were encountered:
Sorry for the boring point, when running cargo build, the errors below was occurred.
I think
{
and}
should be replaced to{{
and}}
.Thank you.
The text was updated successfully, but these errors were encountered: