paths: Update doc comment (#19388)

This PR updates a doc comment to use proper capitalization.

Also removes an unneeded `return`.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-10-17 15:36:29 -04:00 committed by GitHub
parent 9d61cd5120
commit 3c32f01a8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.