Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

style: reformat long expressions to satisfy rustfmt

Steven Enamakel5242f966d72f
diff --git a/crates/openhuman-app/src/core_process.rs b/crates/openhuman-app/src/core_process.rs
index 09c58dc0d2..b253fef4ad 100644
--- a/crates/openhuman-app/src/core_process.rs
+++ b/crates/openhuman-app/src/core_process.rs
@@ -382,8 +382,13 @@ impl CoreProcessHandle {
.to_string())
}
Ok(Err(err)) => {
- if let Some(openhuman_rpc::embed::PickListenPortError::WouldTakeOver { preferred, .. }) = err
- .downcast_ref::<openhuman_rpc::embed::PickListenPortError>()
+ if let Some(
+ openhuman_rpc::embed::PickListenPortError::WouldTakeOver {
+ preferred,
+ ..
+ },
+ ) =
+ err.downcast_ref::<openhuman_rpc::embed::PickListenPortError>()
{
if startup_attempt == 0 {
log::warn!(
diff --git a/crates/openhuman-tui/src/crash_reporting.rs b/crates/openhuman-tui/src/crash_reporting.rs
index 3064f947ff..9f3c8a9360 100644
--- a/crates/openhuman-tui/src/crash_reporting.rs
+++ b/crates/openhuman-tui/src/crash_reporting.rs
@@ -44,7 +44,10 @@ fn sentry_dsn() -> Option<String> {
#[cfg(feature = "crash-reporting")]
fn build_release_tag() -> String {
- sentry::release_tag(env!("CARGO_PKG_VERSION"), option_env!("OPENHUMAN_BUILD_SHA"))
+ sentry::release_tag(
+ env!("CARGO_PKG_VERSION"),
+ option_env!("OPENHUMAN_BUILD_SHA"),
+ )
}
#[cfg(feature = "crash-reporting")]