Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

settings: Fix broken rustdoc intra-doc link in `Settings::PRESERVED_KEYS` (#61347)

Hector Alfaro407924d5a6c2
diff --git a/crates/settings/src/settings_store.rs b/crates/settings/src/settings_store.rs
index 8d78a50ddd0..26c73bb77f6 100644
--- a/crates/settings/src/settings_store.rs
+++ b/crates/settings/src/settings_store.rs
@@ -58,11 +58,11 @@ pub trait SettingsKey: 'static + Send + Sync {
///
/// Settings can be loaded from a combination of multiple JSON files.
pub trait Settings: 'static + Send + Sync + Sized {
- /// The name of the keys in the [`FileContent`](Self::FileContent) that should
+ /// The name of the keys in the [`SettingsContent`] that should
/// always be written to a settings file, even if their value matches the default
/// value.
///
- /// This is useful for tagged [`FileContent`](Self::FileContent)s where the tag
+ /// This is useful for tagged [`SettingsContent`]s where the tag
/// is a "version" field that should always be persisted, even if the current
/// user settings match the current version of the settings.
const PRESERVED_KEYS: Option<&'static [&'static str]> = None;