diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-20 21:25:33 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-20 21:25:33 +0100 |
commit | 0ad6b6d40763f67cc727d000f616f88a47f43d41 (patch) | |
tree | af30190b11a1ffa2a18ebdd9c0ee69bfb771513a /crates/ra_proc_macro_srv/src/tests | |
parent | cd6d788c159240e3910b5df92b641f93d1cf79a5 (diff) | |
parent | fc460b1e423c2c510a10539f8289af548685676c (diff) |
Merge #4061
4061: ra_proc_macro: cleanups here and there r=edwin0cheng a=Veetaha
r? @edwin0cheng
Co-authored-by: veetaha <[email protected]>
Co-authored-by: Veetaha <[email protected]>
Diffstat (limited to 'crates/ra_proc_macro_srv/src/tests')
-rw-r--r-- | crates/ra_proc_macro_srv/src/tests/utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_proc_macro_srv/src/tests/utils.rs b/crates/ra_proc_macro_srv/src/tests/utils.rs index 1ee409449..2139ec7a4 100644 --- a/crates/ra_proc_macro_srv/src/tests/utils.rs +++ b/crates/ra_proc_macro_srv/src/tests/utils.rs | |||
@@ -60,6 +60,6 @@ pub fn list(crate_name: &str, version: &str) -> Vec<String> { | |||
60 | let path = fixtures::dylib_path(crate_name, version); | 60 | let path = fixtures::dylib_path(crate_name, version); |
61 | let task = ListMacrosTask { lib: path }; | 61 | let task = ListMacrosTask { lib: path }; |
62 | 62 | ||
63 | let res = list_macros(&task).unwrap(); | 63 | let res = list_macros(&task); |
64 | res.macros.into_iter().map(|(name, kind)| format!("{} [{:?}]", name, kind)).collect() | 64 | res.macros.into_iter().map(|(name, kind)| format!("{} [{:?}]", name, kind)).collect() |
65 | } | 65 | } |