mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 21:34:02 +03:00
Minor simplification
This commit is contained in:
@@ -17,9 +17,7 @@ var eastWestPool = sync.Pool{
|
||||
}
|
||||
|
||||
func acquireEastWest() *eastWest {
|
||||
wanted := eastWestPool.Get().(*eastWest) // nolint: forcetypeassert
|
||||
|
||||
return wanted
|
||||
return eastWestPool.Get().(*eastWest)
|
||||
}
|
||||
|
||||
func releaseEastWest(ew *eastWest) {
|
||||
|
||||
Reference in New Issue
Block a user