From 4afe6a5f3b049b7867eaa2f55073da9b0540c104 Mon Sep 17 00:00:00 2001 From: dsimcha Date: Sun, 11 Dec 2011 13:01:40 -0500 Subject: [PATCH] Should be bool. --- std/concurrency.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/concurrency.d b/std/concurrency.d index dd76394d5ae..08ce888da58 100644 --- a/std/concurrency.d +++ b/std/concurrency.d @@ -38,7 +38,7 @@ * send(tid, 42); * * // Receive the result code. - * auto wasSuccessful = receiveOnly!(int); + * auto wasSuccessful = receiveOnly!(bool); * assert(wasSuccessful); * writeln("Successfully printed number."); * }