We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5826243 commit 66dee5dCopy full SHA for 66dee5d
doc/manual.md
@@ -511,8 +511,8 @@ suite["utf8"] = BenchmarkGroup(["string", "unicode"])
511
suite["trig"] = BenchmarkGroup(["math", "triangles"])
512
513
# Add some benchmarks to the "utf8" group
514
-teststr = join(rand(MersenneTwister(1), 'a':'d', 10^4))
515
-suite["utf8"]["replace"] = @benchmarkable replace($teststr, "a", "b")
+teststr = join(rand(MersenneTwister(1), 'a':'d', 10^4));
+suite["utf8"]["replace"] = @benchmarkable replace($teststr, "a" => "b")
516
suite["utf8"]["join"] = @benchmarkable join($teststr, $teststr)
517
518
# Add some benchmarks to the "trig" group
0 commit comments