Index: sdk/lib/core/int.dart |
diff --git a/sdk/lib/core/int.dart b/sdk/lib/core/int.dart |
index 98f7da82da4bee10ca125d6a021837a91f525a3e..fdc7727e62dff885843f415c82ab2ca614cf24d6 100644 |
--- a/sdk/lib/core/int.dart |
+++ b/sdk/lib/core/int.dart |
@@ -170,7 +170,7 @@ abstract class int extends num { |
* non-negative number (i.e. unsigned representation). The returned value has |
* zeros in all bit positions higher than [width]. |
* |
- * (-1).toUnsigned(5) == 32 // 11111111 -> 00011111 |
+ * (-1).toUnsigned(5) == 31 // 11111111 -> 00011111 |
* |
* This operation can be used to simulate arithmetic from low level languages. |
* For example, to increment an 8 bit quantity: |