tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 583HTML 275Markdown 8TOML 41586 Definiciones

Move back to any error

e3fa35711fa9a33c272d53c6fdf40405a80325ba · por Emil Sjölander · (hace 7 años) · padre 2202f15a1 · ver el árbol en este commit

Delta semántico · 1

src/result.rs

  • cambió de firma type Result pub

2 archivos · +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>>;