Skip to content

Commit

Permalink
paths: Update doc comment (#19388)
Browse files Browse the repository at this point in the history
This PR updates a doc comment to use proper capitalization.

Also removes an unneeded `return`.

Release Notes:

- N/A
  • Loading branch information
maxdeviant authored and osiewicz committed Oct 18, 2024
1 parent b9ecbd4 commit 35e3958
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/paths/src/paths.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ pub fn logs_dir() -> &'static PathBuf {
})
}

/// Returns the path to the zed server directory on this ssh host.
/// Returns the path to the Zed server directory on this SSH host.
pub fn remote_server_state_dir() -> &'static PathBuf {
static REMOTE_SERVER_STATE: OnceLock<PathBuf> = OnceLock::new();
REMOTE_SERVER_STATE.get_or_init(|| return support_dir().join("server_state"))
REMOTE_SERVER_STATE.get_or_init(|| support_dir().join("server_state"))
}

/// Returns the path to the `Zed.log` file.
Expand Down

0 comments on commit 35e3958

Please sign in to comment.