Replace "Ditto." with "ditto"

ddox doesn't recognize "Ditto.".
This commit is contained in:
2017-09-22 04:08:50 +02:00
parent 4612d5eb6d
commit ee48c25328
16 changed files with 130 additions and 130 deletions

View File

@ -72,7 +72,7 @@ mixin template DefaultAllocator()
return allocator_;
}
/// Ditto.
/// ditto
@property shared(Allocator) allocator() const pure nothrow @trusted @nogc
out (allocator)
{

View File

@ -127,7 +127,7 @@ struct RefCounted(T)
this.storage.payload = value;
}
/// Ditto.
/// ditto
this(shared Allocator allocator)
in
{
@ -209,7 +209,7 @@ struct RefCounted(T)
assert(*rc == 7);
}
/// Ditto.
/// ditto
ref typeof(this) opAssign(typeof(null))
{
if (this.storage is null)
@ -237,7 +237,7 @@ struct RefCounted(T)
assert(!rc.isInitialized);
}
/// Ditto.
/// ditto
ref typeof(this) opAssign(typeof(this) rhs)
{
swap(this.allocator_, rhs.allocator_);
@ -660,7 +660,7 @@ struct Unique(T)
this.payload = value;
}
/// Ditto.
/// ditto
this(shared Allocator allocator)
in
{
@ -706,14 +706,14 @@ struct Unique(T)
return this;
}
/// Ditto.
/// ditto
ref typeof(this) opAssign(typeof(null))
{
allocator.dispose(this.payload);
return this;
}
/// Ditto.
/// ditto
ref typeof(this) opAssign(typeof(this) rhs)
{
swap(this.allocator_, rhs.allocator_);