Skip to content

Commit

Permalink
Resolve what to do with no_std.
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-uk1 committed Jan 16, 2019
1 parent b60d82a commit fab9d1d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -536,9 +536,7 @@ impl fmt::Debug for JsValue {
#[cfg(not(feature = "std"))]
impl fmt::Debug for JsValue {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
// TODO before merge - this is less info than before - is this OK? Can we do the above
// without using allocation (no_std)?
f.write_str("JsValue(..)")
f.write_str("JsValue")
}
}

Expand Down

0 comments on commit fab9d1d

Please sign in to comment.