Remove P::map.
It's barely used, and the places that use it are better if they don't.
This commit is contained in:
@@ -381,10 +381,7 @@ pub(crate) fn expand_test_or_bench(
|
||||
.into(),
|
||||
),
|
||||
);
|
||||
test_const = test_const.map(|mut tc| {
|
||||
tc.vis.kind = ast::VisibilityKind::Public;
|
||||
tc
|
||||
});
|
||||
test_const.vis.kind = ast::VisibilityKind::Public;
|
||||
|
||||
// extern crate test
|
||||
let test_extern =
|
||||
|
||||
Reference in New Issue
Block a user