From 99da8730b0b95da2c366135c8dc95dcfaf9c3715 Mon Sep 17 00:00:00 2001 From: Daniel Martí Date: Sat, 19 Aug 2017 22:33:51 +0200 Subject: all: remove some double spaces from comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Went mainly for the ones that make no sense, such as the ones mid-sentence or after commas. Change-Id: Ie245d2c19cc7428a06295635cf6a9482ade25ff0 Reviewed-on: https://go-review.googlesource.com/57293 Reviewed-by: Ian Lance Taylor Run-TryBot: Daniel Martí TryBot-Result: Gobot Gobot --- src/runtime/cputicks.go | 2 +- src/runtime/lock_sema.go | 2 +- src/runtime/mgc.go | 2 +- src/runtime/panic.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/runtime') diff --git a/src/runtime/cputicks.go b/src/runtime/cputicks.go index ccc3947bb2..de97d5b6fa 100644 --- a/src/runtime/cputicks.go +++ b/src/runtime/cputicks.go @@ -11,6 +11,6 @@ package runtime -// careful: cputicks is not guaranteed to be monotonic! In particular, we have +// careful: cputicks is not guaranteed to be monotonic! In particular, we have // noticed drift between cpus on certain os/arch combinations. See issue 8976. func cputicks() int64 diff --git a/src/runtime/lock_sema.go b/src/runtime/lock_sema.go index 5b0169d572..68fcb564af 100644 --- a/src/runtime/lock_sema.go +++ b/src/runtime/lock_sema.go @@ -140,7 +140,7 @@ func notewakeup(n *note) { case v == 0: // Nothing was waiting. Done. case v == locked: - // Two notewakeups! Not allowed. + // Two notewakeups! Not allowed. throw("notewakeup - double wakeup") default: // Must be the waiting m. Wake it up. diff --git a/src/runtime/mgc.go b/src/runtime/mgc.go index 0e57d960c4..5708d4afa6 100644 --- a/src/runtime/mgc.go +++ b/src/runtime/mgc.go @@ -1235,7 +1235,7 @@ func gcStart(mode gcMode, trigger gcTrigger) { } } - // Ok, we're doing it! Stop everybody else + // Ok, we're doing it! Stop everybody else semacquire(&worldsema) if trace.enabled { diff --git a/src/runtime/panic.go b/src/runtime/panic.go index 2a7acb7797..1f8e37e14f 100644 --- a/src/runtime/panic.go +++ b/src/runtime/panic.go @@ -680,7 +680,7 @@ func startpanic_m() { exit(4) fallthrough default: - // Can't even print! Just exit. + // Can't even print! Just exit. exit(5) } } -- cgit v1.3