aboutsummaryrefslogtreecommitdiff
path: root/src/web/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/index.html')
-rw-r--r--src/web/index.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/web/index.html b/src/web/index.html
index fbc203d..8480d43 100644
--- a/src/web/index.html
+++ b/src/web/index.html
@@ -27,8 +27,9 @@
<button id="run">run</button>
<small id="status">loading</small>
</div>
- <textarea id="src" spellcheck="false">fn main() {
- put_s("hello from the browser\n");
+ <textarea id="src" spellcheck="false">include rt;
+fn main() {
+ rt.put_s("hello from the browser\n");
return 0;
}
</textarea>