mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-26 21:30:12 +03:00
Merge pull request #453 from dkorpel/patch-2
core.d: Fix wrong `return` annotation on UserProvidedBuffer.slice
This commit is contained in:
commit
2e8d9cdeb9
1 changed files with 1 additions and 1 deletions
2
core.d
2
core.d
|
@ -3598,7 +3598,7 @@ struct UserProvidedBuffer(T) {
|
|||
}
|
||||
}
|
||||
|
||||
package(arsd) T[] slice() return {
|
||||
package(arsd) T[] slice() {
|
||||
return buffer[0 .. actualLength];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue