tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 709HTML 662Markdown 12TOML 62348 Sutichaykuna

Move back to any error

d698c30d845c9321d5827964c0986a4c035274e0 · ruwaq Emil Sjölander · (7 wata ñawpaq) · tayta 3c89b984a · kay commitpi sach'ata qhaway

Semántico sayk'uy · 1

src/result.rs

  • silq'uyninpi t'ikrakurqan type Result pub

2 qillqakuna · +3 −3

diff --git a/Cargo.toml b/Cargo.toml
index a0cc942ef..aea1cb1cc 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "stretch"
-version = "0.1.11"
+version = "0.1.12"
 authors = ["Emil Sjölander <emil@visly.app>"]
 edition = "2018"
 include = ["src/**/*", "Cargo.toml"]
diff --git a/src/result.rs b/src/result.rs
index add707159..c5d2510ad 100644
--- a/src/result.rs
+++ b/src/result.rs
@@ -1,3 +1,3 @@
-use core::fmt::Debug;
+use core::any::Any;
 
-pub type Result<T> = core::result::Result<T, Box<Debug>>;
+pub type Result<T> = core::result::Result<T, Box<Any>>;