diff --git a/std/concurrency.d b/std/concurrency.d index 0583553a1ad..fb383ae3f2e 100644 --- a/std/concurrency.d +++ b/std/concurrency.d @@ -1573,10 +1573,9 @@ private: this.outer.yield(); } - private bool notified; + bool notified; } -private: void dispatch() { import std.algorithm.mutation : remove; @@ -1600,7 +1599,6 @@ private: } } -private: Fiber[] m_fibers; size_t m_pos; } diff --git a/std/digest/ripemd.d b/std/digest/ripemd.d index 4a5deca6884..0fdc2519b18 100644 --- a/std/digest/ripemd.d +++ b/std/digest/ripemd.d @@ -210,7 +210,7 @@ struct RIPEMD160 * RIPEMD160 basic transformation. Transforms state based on block. */ - private void transform(const(ubyte[64])* block) + void transform(const(ubyte[64])* block) pure nothrow @nogc { uint aa = _state[0], diff --git a/std/internal/math/biguintcore.d b/std/internal/math/biguintcore.d index 59d784265c1..79446756fa6 100644 --- a/std/internal/math/biguintcore.d +++ b/std/internal/math/biguintcore.d @@ -1910,7 +1910,6 @@ pure @safe unittest } -private: // Converts a big uint to a hexadecimal string. // // Optionally, a separator character (eg, an underscore) may be added between @@ -2185,7 +2184,6 @@ do } -private: // ------------------------ // These in-place functions are only for internal use; they are incompatible // with COW. @@ -2628,8 +2626,6 @@ again: } } -private: - // TODO: Replace with a library call void itoaZeroPadded(char[] output, uint value) pure nothrow @safe @nogc @@ -2669,8 +2665,6 @@ void toHexZeroPadded(char[] output, uint value, } } -private: - // Returns the highest value of i for which left[i]!=right[i], // or 0 if left[] == right[] size_t highestDifferentDigit(const BigDigit [] left, const BigDigit [] right) diff --git a/std/range/package.d b/std/range/package.d index dac2e401ad7..a21f4d01745 100644 --- a/std/range/package.d +++ b/std/range/package.d @@ -902,7 +902,7 @@ if (Ranges.length > 0 && private: alias R = staticMap!(Unqual, Ranges); alias RvalueElementType = CommonType!(staticMap!(.ElementType, R)); - private template sameET(A) + template sameET(A) { enum sameET = is(.ElementType!A == RvalueElementType); } diff --git a/std/windows/registry.d b/std/windows/registry.d index cdf37c11cf6..d66adff58ca 100644 --- a/std/windows/registry.d +++ b/std/windows/registry.d @@ -881,7 +881,6 @@ public: return new ValueNameSequence(this); } -public: /** Returns the named sub-key of this key. @@ -1412,7 +1411,6 @@ public: return getKeyName(index); } -public: /// int opApply(scope int delegate(ref string name) dg) { @@ -1509,7 +1507,6 @@ public: return getKey(index); } -public: /// int opApply(scope int delegate(ref Key key) dg) { @@ -1618,7 +1615,6 @@ public: return getValueName(index); } -public: /// int opApply(scope int delegate(ref string name) dg) { @@ -1712,7 +1708,6 @@ public: return getValue(index); } -public: /// int opApply(scope int delegate(ref Value value) dg) {