summaryrefslogtreecommitdiff
path: root/std/slice.zc
diff options
context:
space:
mode:
Diffstat (limited to 'std/slice.zc')
-rw-r--r--std/slice.zc4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/slice.zc b/std/slice.zc
index 3c317ca..c757fbd 100644
--- a/std/slice.zc
+++ b/std/slice.zc
@@ -28,8 +28,8 @@ impl SliceIter<T> {
}
impl Slice<T> {
- fn from_array(arr: T*, len: usize) -> Slice<T> {
- return Slice<T> { data: arr, len: len };
+ fn from_array(ptr: T*, len: usize) -> Slice<T> {
+ return Slice<T> { data: ptr, len: len };
}
// Alias for backwards compatibility with std/mem.zc