Enfoce no dbg! and todo! in Rust code via clippy lints in the CI job

This commit is contained in:
Kirill Bulatov 2024-01-10 23:23:52 +02:00
parent 02ef6fc973
commit 7b3e7ee3cc
6 changed files with 40 additions and 32 deletions

View file

@ -111,7 +111,6 @@ mod test {
let mut cx1 = VisualTestContext::from_window(cx.window, &cx);
let editor1 = cx.editor.clone();
dbg!(editor1.entity_id());
let buffer = cx.new_model(|_| Buffer::new(0, 0, "a = 1\nb = 2\n"));
let (editor2, cx2) = cx.add_window_view(|cx| Editor::for_buffer(buffer, None, cx));