Skip to content

Commit

Permalink
modify document according to the current API (#62)
Browse files Browse the repository at this point in the history
Signed-off-by: YangKeao <keao.yang@yahoo.com>
  • Loading branch information
YangKeao committed May 10, 2021
1 parent 6e67b56 commit e17a0b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -23,7 +23,7 @@ if let Ok(report) = guard.report().build() {
};
```

`Display` was implemented for `Report`. It will print a human-readable stack counter report. Here is an example:
`Debug` was implemented for `Report`. It will print a human-readable stack counter report. Here is an example:

```
FRAME: backtrace::backtrace::trace::h3e91a3123a3049a5 -> FRAME: pprof::profiler::perf_signal_handler::h7b995c4ab2e66493 -> FRAME: Unknown -> FRAME: prime_number::is_prime_number::h70653a2633b88023 -> FRAME: prime_number::main::h47f1058543990c8b -> FRAME: std::rt::lang_start::{{closure}}::h4262e250f8024b06 -> FRAME: std::rt::lang_start_internal::{{closure}}::h812f70926ebbddd0 -> std::panicking::try::do_call::h3210e2ce6a68897b -> FRAME: __rust_maybe_catch_panic -> FRAME: std::panicking::try::h28c2e2ec1c3871ce -> std::panic::catch_unwind::h05e542185e35aabf -> std::rt::lang_start_internal::hd7efcfd33686f472 -> FRAME: main -> FRAME: __libc_start_main -> FRAME: _start -> FRAME: Unknown -> THREAD: prime_number 1217
Expand Down

0 comments on commit e17a0b0

Please sign in to comment.