Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3752758
D1660.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
315 B
Referenced Files
None
Subscribers
None
D1660.diff
View Options
diff --git a/src/lib.rs b/src/lib.rs
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -0,0 +1,5 @@
+/* -------------------------------------------------------------
+ Custom types
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
+
+pub type ErrorResult<T> = Result<T, Box<dyn std::error::Error>>;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 21:10 (19 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2251223
Default Alt Text
D1660.diff (315 B)
Attached To
Mode
D1660: Provide ErrorResult type
Attached
Detach File
Event Timeline
Log In to Comment