mirror of
https://github.com/golang/go
synced 2024-11-23 18:50:05 -07:00
runtime: fix incorrect comment
This commit is contained in:
parent
25e600dd64
commit
e9587868db
@ -21,8 +21,7 @@ type pageCache struct {
|
||||
scav uint64 // 64-bit bitmap representing scavenged pages (1 means scavenged)
|
||||
}
|
||||
|
||||
// empty returns true if the pageCache has no free pages, and false
|
||||
// otherwise.
|
||||
// empty reports whether the page cache has no free pages.
|
||||
func (c *pageCache) empty() bool {
|
||||
return c.cache == 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user