Skip to content

Commit a54c50b

Browse files
committed
Remove two scope qualifiers per compiler diagnostics
1 parent 712469a commit a54c50b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/mir/appender.d

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ struct ScopedBuffer(T, size_t bytes = 4096)
3434
return *cast(inout(T[_bufferLength])*)&_scopeBufferPayload;
3535
}
3636

37-
private T[] prepare(size_t n) @trusted return scope
37+
private T[] prepare(size_t n) @trusted return
3838
{
3939
import mir.internal.memory: realloc, malloc;
4040
_currentLength += n;
@@ -210,7 +210,7 @@ struct ScopedBuffer(T, size_t bytes = 4096)
210210
}
211211

212212
///
213-
inout(T)[] data() inout @property @safe return scope
213+
inout(T)[] data() inout @property @safe return
214214
{
215215
return _buffer.length ? _buffer[0 .. _currentLength] : _scopeBuffer[0 .. _currentLength];
216216
}

0 commit comments

Comments
 (0)