From 947f95193a52ebdda3f727500144fe1f6d292868 Mon Sep 17 00:00:00 2001 From: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> Date: Sun, 17 May 2020 11:09:38 +0200 Subject: [PATCH] fix doctest inside impl block #4449 Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> --- crates/ra_ide/src/runnables.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ra_ide/src/runnables.rs b/crates/ra_ide/src/runnables.rs index 009ea813a02..72eced343ba 100644 --- a/crates/ra_ide/src/runnables.rs +++ b/crates/ra_ide/src/runnables.rs @@ -1,6 +1,6 @@ //! FIXME: write short doc here -use hir::{AsAssocItem, HirDisplay, Semantics}; +use hir::{AsAssocItem, Semantics}; use itertools::Itertools; use ra_ide_db::RootDatabase; use ra_syntax::{ @@ -266,7 +266,7 @@ mod tests { //- /lib.rs <|> //empty fn main() {} - + struct Data; impl Data { /// ```