authorgravatar for 14938807+xackus@users.noreply.github.comxackus <14938807+xackus@users.noreply.github.com> 2019-12-05 22:35:23+01:00
committergravatar for 14938807+xackus@users.noreply.github.comxackus <14938807+xackus@users.noreply.github.com> 2019-12-05 22:40:47+01:00
logba78d71b09bc7d139f55fe0d93688e2638e6b8e4
tree5a89c4e1583f036633c3570749e6314e67b4b1b1
parent1baaf9a503bd399f4da4a9d3e80695b1739ea966

docs: fix assembly example


1 files changed, 1 insertions(+), 1 deletions(-)

doc/langref.html.in+1-1
...@@ -6006,7 +6006,7 @@ pub fn main() void {...@@ -6006,7 +6006,7 @@ pub fn main() void {
6006 {#target_linux_x86_64#}6006 {#target_linux_x86_64#}
6007pub fn main() noreturn {6007pub fn main() noreturn {
6008 const msg = "hello world\n";6008 const msg = "hello world\n";
6009 _ = syscall3(SYS_write, STDOUT_FILENO, @ptrToInt(&msg), msg.len);6009 _ = syscall3(SYS_write, STDOUT_FILENO, @ptrToInt(msg), msg.len);
6010 _ = syscall1(SYS_exit, 0);6010 _ = syscall1(SYS_exit, 0);
6011 unreachable;6011 unreachable;
6012}6012}