Commit 96cd55dd authored by vipwzw's avatar vipwzw Committed by 33cn

auto ci

parent ce0df3b4
// +build !amd64,!arm64 generic // +build !amd64,!arm64 generic
//nolint:unparam // 忽视本文件所有golangci-linter检查 //nolint:unparam // 忽视本文件所有golangci-linter检查
package bn256 package bn256
......
...@@ -26,6 +26,7 @@ type Stack struct { ...@@ -26,6 +26,7 @@ type Stack struct {
func NewStack() *Stack { func NewStack() *Stack {
return stackPool.Get().(*Stack) return stackPool.Get().(*Stack)
} }
// Returnstack 把用完的stack还给stackpool // Returnstack 把用完的stack还给stackpool
func Returnstack(s *Stack) { func Returnstack(s *Stack) {
s.data = s.data[:0] s.data = s.data[:0]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment