ref: 3e766b90b472b5fbf1790bcbcc7b3a3245477047
parent: ba1671eff1fe37ff6e4e4453d9df2d37af35bcce
author: Ori Bernstein <[email protected]>
date: Fri Aug 22 07:03:58 EDT 2014
Clean up comment a little bit.
--- a/libstd/sys-freebsd.myr
+++ b/libstd/sys-freebsd.myr
@@ -648,7 +648,7 @@
/*
wraps a syscall argument, converting it to 64 bits for the syscall function. This is
-effectively the same as casting all the args, but shorter than a(writing)
+the same as casting, but more concise than writing castto(int64)
*/
generic a = {x : @t
-> a(x)
--- a/libstd/sys-linux.myr
+++ b/libstd/sys-linux.myr
@@ -601,7 +601,7 @@
/*
wraps a syscall argument, converting it to 64 bits for the syscall function. This is
-effectively the same as casting all the args, but shorter than writing castto(int64)
+the same as casting, but more concise than writing castto(int64)
*/
generic a = {x : @t
-> x castto(uint64)
--- a/libstd/sys-osx.myr
+++ b/libstd/sys-osx.myr
@@ -616,7 +616,7 @@
/*
wraps a syscall argument, converting it to 64 bits for the syscall function. This is
-effectively the same as casting all the args, but shorter than writing castto(int64)
+the same as casting, but more concise than writing castto(int64)
*/
generic a = {x : @t
-> x castto(uint64)