From e7d7150e3ca201119709f5ad26939eff98359a60 Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Sat, 17 Nov 2018 23:29:45 -0800 Subject: [PATCH] Fix documentation mistakes --- .gitignore | 3 ++- Priority Queue/GenericPriorityQueue.cs | 2 +- Priority Queue/SimplePriorityQueue.cs | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 638b6f1..3ecae27 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ *.suo /packages/ /Priority Queue/*.nupkg -project.lock.json \ No newline at end of file +project.lock.json +/.vs/ \ No newline at end of file diff --git a/Priority Queue/GenericPriorityQueue.cs b/Priority Queue/GenericPriorityQueue.cs index 565f141..bd7e142 100644 --- a/Priority Queue/GenericPriorityQueue.cs +++ b/Priority Queue/GenericPriorityQueue.cs @@ -8,7 +8,7 @@ namespace Priority_Queue /// /// A copy of StablePriorityQueue which also has generic priority-type /// - /// The values in the queue. Must extend the GenericPriorityQueue class + /// The values in the queue. Must extend the GenericPriorityQueueNode class /// The priority-type. Must extend IComparable<TPriority> public sealed class GenericPriorityQueue : IFixedSizePriorityQueue where TItem : GenericPriorityQueueNode diff --git a/Priority Queue/SimplePriorityQueue.cs b/Priority Queue/SimplePriorityQueue.cs index 4db54a7..6da9a09 100644 --- a/Priority Queue/SimplePriorityQueue.cs +++ b/Priority Queue/SimplePriorityQueue.cs @@ -52,7 +52,7 @@ public SimplePriorityQueue(Comparison comparer) } /// - /// 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 /// private SimpleNode GetExistingNode(TItem item) { @@ -127,7 +127,6 @@ public int Count } } - /// /// Returns the head of the queue, without removing it (use Dequeue() for that). /// Throws an exception when the queue is empty.