Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3753088
D1660.id4237.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.id4237.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, 23:07 (21 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2251223
Default Alt Text
D1660.id4237.diff (315 B)
Attached To
Mode
D1660: Provide ErrorResult type
Attached
Detach File
Event Timeline
Log In to Comment