fix: correct drifted line citations in time/time.go and net/http/server.go
- time/time.go:928-933 -> 925-933 ("To count the number of units" block starts at 925)
- time/time.go:936-943 -> 934-942 (const Duration block starts at 934)
- net/http/server.go:3173-3174 -> 3171-3174 (Close() func starts at 3171)
This commit is contained in:
+2
-2
@@ -256,7 +256,7 @@ run earlier.
|
||||
**Code examples from source:**
|
||||
|
||||
```go
|
||||
// net/http/server.go:3173-3174
|
||||
// net/http/server.go:3171-3174
|
||||
func (s *Server) Close() error {
|
||||
s.inShutdown.Store(true)
|
||||
s.mu.Lock()
|
||||
@@ -448,7 +448,7 @@ const (
|
||||
// ...
|
||||
)
|
||||
|
||||
// time/time.go:936-943
|
||||
// time/time.go:934-942
|
||||
const (
|
||||
Nanosecond Duration = 1
|
||||
Microsecond = 1000 * Nanosecond
|
||||
|
||||
Reference in New Issue
Block a user