fix doctest inside impl block #4449

Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
This commit is contained in:
Benjamin Coenen 2020-05-17 11:09:38 +02:00
parent 03735be317
commit 947f95193a

View file

@ -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 {
/// ```