From f87ab89207b15d951c1e5ad16862107eda36743b Mon Sep 17 00:00:00 2001 From: dudaodong Date: Mon, 6 Jun 2022 10:34:18 +0800 Subject: [PATCH] docs: fix misspell in doc queue.md --- docs/datastructure/queue.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/datastructure/queue.md b/docs/datastructure/queue.md index 830002e..f8d6b78 100644 --- a/docs/datastructure/queue.md +++ b/docs/datastructure/queue.md @@ -15,7 +15,7 @@ A queue is a kind of linear table. It only allows delete operations at the front ## Usage ```go import ( - stack "github.com/duke-git/lancet/v2/datastructure/stack" + queue "github.com/duke-git/lancet/v2/datastructure/queue" ) ``` @@ -208,7 +208,7 @@ func main() { ### Front -

Just get head element of queue

+

Just get the head element of queue

Signature: @@ -240,7 +240,7 @@ func main() { ### Back -

Just get tail element of queue

+

Just get the tail element of queue

Signature: @@ -397,7 +397,7 @@ func main() { ### Contain -

checks if the value is in queue or not

+

Check if the value is in queue or not

Signature: @@ -431,7 +431,7 @@ func main() { Common queue implemented by link. ### NewLinkedQueue -

Return a LinkedQueue pointer with

+

Return a LinkedQueue pointer

Signature: @@ -557,7 +557,7 @@ func main() { ### Front -

Just get head element of queue

+

Just get the head element of queue

Signature: @@ -589,7 +589,7 @@ func main() { ### Back -

Just get tail element of queue

+

Just get the tail element of queue

Signature: @@ -714,7 +714,7 @@ func main() { ### Contain -

checks if the value is in queue or not

+

Check if the value is in queue or not

Signature: @@ -1062,7 +1062,7 @@ func main() { ### Contain -

checks if the value is in queue or not

+

Check if the value is in queue or not

Signature: