Fixed documentation in folly/Random.h
[folly.git] / folly / Random.h
index a8682dc09bb4b0a1c5a2a10e77841475bbdaac46..52f1f17c39e0ab8a26f40c2420463d5a1416dc50 100644 (file)
@@ -40,7 +40,7 @@ namespace folly {
  * However, if you are worried about performance, you can memoize the TLS
  * lookups that get the per thread state by manually using this class:
  *
- * ThreadLocalPRNG rng = Random::threadLocalPRNG()
+ * ThreadLocalPRNG rng;
  * for (...) {
  *   Random::rand32(rng);
  * }