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.

Replace todo with unimplemented to reduce distractions

Nathan Sobo0d78266ddb15
diff --git a/crates/editor/src/items.rs b/crates/editor/src/items.rs
index e971af943ab..fc7c1cd9686 100644
--- a/crates/editor/src/items.rs
+++ b/crates/editor/src/items.rs
@@ -1222,27 +1222,27 @@ mod tests {
}
fn as_local(&self) -> Option<&dyn language::LocalFile> {
- todo!()
+ unimplemented!()
}
fn mtime(&self) -> SystemTime {
- todo!()
+ unimplemented!()
}
fn file_name<'a>(&'a self, _: &'a gpui::AppContext) -> &'a std::ffi::OsStr {
- todo!()
+ unimplemented!()
}
fn is_deleted(&self) -> bool {
- todo!()
+ unimplemented!()
}
fn as_any(&self) -> &dyn std::any::Any {
- todo!()
+ unimplemented!()
}
fn to_proto(&self) -> rpc::proto::File {
- todo!()
+ unimplemented!()
}
}
}
diff --git a/crates/gpui/src/elements/list.rs b/crates/gpui/src/elements/list.rs
index ca73196c8bb..1cf8cc986f0 100644
--- a/crates/gpui/src/elements/list.rs
+++ b/crates/gpui/src/elements/list.rs
@@ -990,7 +990,7 @@ mod tests {
_: &mut V,
_: &mut ViewContext<V>,
) {
- todo!()
+ unimplemented!()
}
fn rect_for_text_range(
@@ -1003,7 +1003,7 @@ mod tests {
_: &V,
_: &ViewContext<V>,
) -> Option<RectF> {
- todo!()
+ unimplemented!()
}
fn debug(&self, _: RectF, _: &(), _: &(), _: &V, _: &ViewContext<V>) -> serde_json::Value {