Add a ! effect to copy_from_slice

This commit is contained in:
Nigel Tao committed 2018-09-08 11:14:37 +10:00
1 parent 68e553f305
commit ead965c61f
3 files changed
+7 -8

No files matched your search

+1 -2
View File
@@ -268,8 +268,7 @@ const (
)
var SliceFuncs = []string{
// TODO: should copy_from_slice be a ! method?
"T1.copy_from_slice(s T1) u64",
"T1.copy_from_slice!(s T1) u64",
"T1.length() u64",
"T1.prefix(up_to u64) T1",
"T1.suffix(up_to u64) T1",