From 3c32f01a8f3b7d038ce3ac2a9c79c3a1b2906714 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Thu, 17 Oct 2024 15:36:29 -0400 Subject: [PATCH] paths: Update doc comment (#19388) This PR updates a doc comment to use proper capitalization. Also removes an unneeded `return`. Release Notes: - N/A --- crates/paths/src/paths.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/paths/src/paths.rs b/crates/paths/src/paths.rs index 1649ccb475..679bab32d2 100644 --- a/crates/paths/src/paths.rs +++ b/crates/paths/src/paths.rs @@ -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 = 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.