Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit ef64b00

Browse files
Move README change into lib.rs, where it belongs
1 parent c4c4c58 commit ef64b00

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,4 @@ impl MyBigThing {
6868
### Error.stackTraceLimit
6969

7070
Many browsers only capture the top 10 frames of a stack trace. In rust programs this is less likely to be enough. To see more frames, you can set the non-standard value Error.strackTraceLimit. For more information see the [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Microsoft_Extensions/Error.stackTraceLimit) or [v8 docs](https://v8.dev/docs/stack-trace-api).
71+

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@
6464
//! }
6565
//! }
6666
//! ```
67+
//!
68+
//! ## Error.stackTraceLimit
69+
//!
70+
//! Many browsers only capture the top 10 frames of a stack trace. In rust programs this is less likely to be enough. To see more frames, you can set the non-standard value Error.strackTraceLimit. For more information see the [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Microsoft_Extensions/Error.stackTraceLimit) or [v8 docs](https://v8.dev/docs/stack-trace-api).
71+
//!
6772
6873
#[macro_use]
6974
extern crate cfg_if;

0 commit comments

Comments
 (0)