mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-08 11:01:35 +00:00
cleanup
This commit is contained in:
1 parent
bf0703f0c1
commit
bc32d7c2ee
1 file changed
-4
@@ -45,10 +45,6 @@ impl NotificationDetailsBuilder {
|
||||
}
|
||||
}
|
||||
|
||||
/// Create a builder from a boxed error.
|
||||
///
|
||||
/// Sets the title to a placeholder and attaches the error object.
|
||||
/// Callers should chain `.set_title()` to provide a meaningful title.
|
||||
/// Create a builder from a boxed error. Converts to `Arc` internally for shareability.
|
||||
pub fn from_boxed_error(error: Box<dyn std::error::Error + Send + Sync + 'static>) -> Self {
|
||||
Self::from_error(Arc::from(error))
|
||||
|
||||
Reference in new issue
Block a user