Remove settings::Maybe (#42933)

It's unclear how this would ever be useful

cc @probably-neb

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin
2025-11-18 10:23:16 -07:00
committed by GitHub
parent 03132921c7
commit 3c4ca3f372
6 changed files with 7 additions and 223 deletions
@@ -8,7 +8,7 @@ use settings_macros::MergeFrom;
use util::serde::default_true;
use crate::{
AllLanguageSettingsContent, DelayMs, ExtendingVec, Maybe, ProjectTerminalSettingsContent,
AllLanguageSettingsContent, DelayMs, ExtendingVec, ProjectTerminalSettingsContent,
SlashCommandSettings,
};
@@ -61,8 +61,8 @@ pub struct WorktreeSettingsContent {
///
/// Default: null
#[serde(default)]
#[serde(skip_serializing_if = "Maybe::is_unset")]
pub project_name: Maybe<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub project_name: Option<String>,
/// Whether to prevent this project from being shared in public channels.
///