Skip to content

Commit a724852

Browse files
committed
Fixed typo
1 parent 6ea18c2 commit a724852

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/DotNext/Buffers/BufferWriterSlim.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace DotNext.Buffers;
1515
/// <remarks>
1616
/// This type is similar to <see cref="PoolingArrayBufferWriter{T}"/> and <see cref="PoolingBufferWriter{T}"/>
1717
/// classes but it tries to avoid on-heap allocation. Moreover, it can use pre-allocated stack
18-
/// memory as a initial buffer used for writing. If builder requires more space then pooled
18+
/// memory as an initial buffer used for writing. If builder requires more space then pooled
1919
/// memory used.
2020
/// </remarks>
2121
/// <typeparam name="T">The type of the elements in the memory.</typeparam>

src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/LeaderState.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ private void CheckMemberHealthStatus(IFailureDetector? detector, TMember member)
125125
[AsyncMethodBuilder(typeof(SpawningAsyncTaskMethodBuilder))]
126126
private async Task DoHeartbeats(TimeSpan period, IAuditTrail<IRaftLogEntry> auditTrail, IClusterConfigurationStorage configurationStorage, IReadOnlyCollection<TMember> members)
127127
{
128-
// cached enumerator allows to avoid memory allocation on every GetEnumerator call inside of the loop
128+
// cached enumerator allows to avoid memory allocation on every GetEnumerator call inside the loop
129129
var enumerator = members.GetEnumerator();
130130
try
131131
{

0 commit comments

Comments
 (0)