gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5364Rust 86Markdown 12TOML 91841 Sutichaykuna

Change from Any error to Debug error

3c89b984ad68dffed0b747aa6e3b12efe989b647 · ruwaq Emil Sjölander · (7 wata ñawpaq) · tayta 65c88549f · 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 2b1bdbf3a..a0cc942ef 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "stretch"
-version = "0.1.10"
+version = "0.1.11"
 authors = ["Emil Sjölander <emil@visly.app>"]
 edition = "2018"
 include = ["src/**/*", "Cargo.toml"]
diff --git a/src/result.rs b/src/result.rs
index c5d2510ad..add707159 100644
--- a/src/result.rs
+++ b/src/result.rs
@@ -1,3 +1,3 @@
-use core::any::Any;
+use core::fmt::Debug;
 
-pub type Result<T> = core::result::Result<T, Box<Any>>;
+pub type Result<T> = core::result::Result<T, Box<Debug>>;