Skip to content

Commit a3710d6

Browse files
committed
style: format rust sources
1 parent 83e1830 commit a3710d6

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

apps/server/src/main.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ fn resolve_state_dir() -> Result<PathBuf, std::io::Error> {
140140
#[cfg(target_os = "macos")]
141141
{
142142
let home = home_dir().ok_or_else(|| std::io::Error::other("missing home directory"))?;
143-
return Ok(home.join("Library/Application Support").join("coder-studio"));
143+
return Ok(home
144+
.join("Library/Application Support")
145+
.join("coder-studio"));
144146
}
145147

146148
#[cfg(target_os = "windows")]
@@ -210,7 +212,10 @@ async fn run() -> Result<(), String> {
210212
println!("Coder Studio web dev server: {DEV_FRONTEND_URL}");
211213
println!("Coder Studio local server: {}", transport_server.endpoint);
212214
} else {
213-
println!("Coder Studio server running at {}", transport_server.endpoint);
215+
println!(
216+
"Coder Studio server running at {}",
217+
transport_server.endpoint
218+
);
214219
}
215220

216221
axum::serve(

apps/server/src/ws/server.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,7 @@ pub(crate) fn emit_agent(
129129
);
130130
}
131131

132-
pub(crate) fn emit_terminal(
133-
app: &AppHandle,
134-
workspace_id: &str,
135-
terminal_id: u64,
136-
data: &str,
137-
) {
132+
pub(crate) fn emit_terminal(app: &AppHandle, workspace_id: &str, terminal_id: u64, data: &str) {
138133
emit_transport_event(
139134
app,
140135
"terminal://event",

0 commit comments

Comments
 (0)