Rename StructDef -> Struct

This commit is contained in:
Aleksey Kladov
2020-07-30 17:50:40 +02:00
parent 1ae4721c9c
commit 216a5344c8
63 changed files with 163 additions and 163 deletions

View File

@@ -235,7 +235,7 @@ fn test_comments_preserve_trailing_whitespace() {
)
.ok()
.unwrap();
let def = file.syntax().descendants().find_map(StructDef::cast).unwrap();
let def = file.syntax().descendants().find_map(Struct::cast).unwrap();
assert_eq!(
"Representation of a Realm. \nIn the specification these are called Realm Records.",
def.doc_comment_text().unwrap()