Replace todo with unimplemented to reduce distractions

This commit is contained in:
Nathan Sobo 2023-05-09 16:37:10 -06:00
parent 6d16d2224d
commit 0d78266ddb
2 changed files with 8 additions and 8 deletions

View file

@ -1222,27 +1222,27 @@ mod tests {
} }
fn as_local(&self) -> Option<&dyn language::LocalFile> { fn as_local(&self) -> Option<&dyn language::LocalFile> {
todo!() unimplemented!()
} }
fn mtime(&self) -> SystemTime { fn mtime(&self) -> SystemTime {
todo!() unimplemented!()
} }
fn file_name<'a>(&'a self, _: &'a gpui::AppContext) -> &'a std::ffi::OsStr { fn file_name<'a>(&'a self, _: &'a gpui::AppContext) -> &'a std::ffi::OsStr {
todo!() unimplemented!()
} }
fn is_deleted(&self) -> bool { fn is_deleted(&self) -> bool {
todo!() unimplemented!()
} }
fn as_any(&self) -> &dyn std::any::Any { fn as_any(&self) -> &dyn std::any::Any {
todo!() unimplemented!()
} }
fn to_proto(&self) -> rpc::proto::File { fn to_proto(&self) -> rpc::proto::File {
todo!() unimplemented!()
} }
} }
} }

View file

@ -990,7 +990,7 @@ mod tests {
_: &mut V, _: &mut V,
_: &mut ViewContext<V>, _: &mut ViewContext<V>,
) { ) {
todo!() unimplemented!()
} }
fn rect_for_text_range( fn rect_for_text_range(
@ -1003,7 +1003,7 @@ mod tests {
_: &V, _: &V,
_: &ViewContext<V>, _: &ViewContext<V>,
) -> Option<RectF> { ) -> Option<RectF> {
todo!() unimplemented!()
} }
fn debug(&self, _: RectF, _: &(), _: &(), _: &V, _: &ViewContext<V>) -> serde_json::Value { fn debug(&self, _: RectF, _: &(), _: &(), _: &V, _: &ViewContext<V>) -> serde_json::Value {