Skip to content

Commit

Permalink
Fix documentation mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueRaja committed Nov 18, 2018
1 parent 606526a commit e7d7150
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
*.suo
/packages/
/Priority Queue/*.nupkg
project.lock.json
project.lock.json
/.vs/
2 changes: 1 addition & 1 deletion Priority Queue/GenericPriorityQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Priority_Queue
/// <summary>
/// A copy of StablePriorityQueue which also has generic priority-type
/// </summary>
/// <typeparam name="TItem">The values in the queue. Must extend the GenericPriorityQueue class</typeparam>
/// <typeparam name="TItem">The values in the queue. Must extend the GenericPriorityQueueNode class</typeparam>
/// <typeparam name="TPriority">The priority-type. Must extend IComparable&lt;TPriority&gt;</typeparam>
public sealed class GenericPriorityQueue<TItem, TPriority> : IFixedSizePriorityQueue<TItem, TPriority>
where TItem : GenericPriorityQueueNode<TPriority>
Expand Down
3 changes: 1 addition & 2 deletions Priority Queue/SimplePriorityQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public SimplePriorityQueue(Comparison<TPriority> comparer)
}

/// <summary>
/// Given an item of type T, returns the exist SimpleNode in the queue
/// Given an item of type T, returns the existing SimpleNode in the queue
/// </summary>
private SimpleNode GetExistingNode(TItem item)
{
Expand Down Expand Up @@ -127,7 +127,6 @@ public int Count
}
}


/// <summary>
/// Returns the head of the queue, without removing it (use Dequeue() for that).
/// Throws an exception when the queue is empty.
Expand Down

0 comments on commit e7d7150

Please sign in to comment.