Minor documentation additions
This commit is contained in:
parent
36cced8ff1
commit
e3eb0b0ff9
|
@ -11,11 +11,15 @@
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
## A deque implemented on top of a doubly linked list
|
||||||
|
|
||||||
import strformat
|
import strformat
|
||||||
|
|
||||||
|
|
||||||
type
|
type
|
||||||
DequeNode*[T] = ref object
|
DequeNode[T] = ref object
|
||||||
|
## Linked list node
|
||||||
next: DequeNode[T]
|
next: DequeNode[T]
|
||||||
prev: DequeNode[T]
|
prev: DequeNode[T]
|
||||||
val: T
|
val: T
|
||||||
|
|
Loading…
Reference in New Issue