Update context.go
This commit is contained in:
parent
8a9e535a6b
commit
25b475c827
@ -584,7 +584,7 @@ func (dc *Context) Push() {
|
|||||||
dc.stack = append(dc.stack, &x)
|
dc.stack = append(dc.stack, &x)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Pop pops the last saved context state from the stack.
|
// Pop restores the last saved context state from the stack.
|
||||||
func (dc *Context) Pop() {
|
func (dc *Context) Pop() {
|
||||||
before := *dc
|
before := *dc
|
||||||
s := dc.stack
|
s := dc.stack
|
||||||
|
Loading…
Reference in New Issue
Block a user