Skip to content

Commit

Permalink
Add Debug implementation to JsError (#4136)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcrisanti authored Oct 7, 2024
1 parent 6505bf4 commit c1acd31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
* Added bindings for the draft [WebRTC Encoded Transform](https://www.w3.org/TR/webrtc-encoded-transform) spec.
[#4125](https://github.com/rustwasm/wasm-bindgen/pull/4125)

* Added `Debug` implementation to `JsError`.
[#4136](https://github.com/rustwasm/wasm-bindgen/pull/4136)

### Changed

* Implicitly enable reference type and multivalue transformations if the module already makes use of the corresponding target features.
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2160,7 +2160,7 @@ impl<T> DerefMut for Clamped<T> {
/// }
///
/// ```
#[derive(Clone)]
#[derive(Clone, Debug)]
pub struct JsError {
value: JsValue,
}
Expand Down

0 comments on commit c1acd31

Please sign in to comment.