diff --git a/core.d b/core.d index d479bee..6e5d5aa 100644 --- a/core.d +++ b/core.d @@ -3598,7 +3598,7 @@ struct UserProvidedBuffer(T) { } } - package(arsd) T[] slice() return { + package(arsd) T[] slice() { return buffer[0 .. actualLength]; } }