clippy lint

This commit is contained in:
Blaž Hrastnik 2021-05-08 18:26:49 +09:00
parent ed827e993f
commit 0fe19ae472

View File

@ -165,7 +165,7 @@ pub fn render_prompt(&self, area: Rect, surface: &mut Surface, cx: &mut Context)
let text = ui::Text::new(doc.to_string()); let text = ui::Text::new(doc.to_string());
let area = Rect::new( let area = Rect::new(
completion_area.x + 0, completion_area.x,
completion_area.y - 3, completion_area.y - 3,
completion_area.width, completion_area.width,
3, 3,