Resolve what to do with no_std.

This commit is contained in:
Richard Dodd 2019-01-11 19:24:24 +00:00
parent b60d82a531
commit fab9d1dff6

View File

@ -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")
}
}