You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to follow code examples from Getting Started a user could be enticed by the copy&paste button in Step 2 - Add Benchmark to simply paste the code to his local file, but that sneaky button adds fn main() {, which blocks he invokation of the benchmark macro main function, so the benches would never run
remove the copy&paste button so that users would copy&paste manually without having that blocking main added
configure docs to generate a button that doesn't copy the hidden text
Or even better: have self-contained examples that work, then the user would simply download the files and don't have to waste time trying to figure out why the guide doesn't work
The text was updated successfully, but these errors were encountered:
When trying to follow code examples from Getting Started a user could be enticed by the copy&paste button in Step 2 - Add Benchmark to simply paste the code to his local file, but that sneaky button adds
fn main() {
, which blocks he invokation of the benchmark macro main function, so the benches would never runYou should either
The text was updated successfully, but these errors were encountered: