make InheritedBuilder::enter public
This commit is contained in:
parent
5565c1a1ca
commit
0c37239e0e
1 changed files with 1 additions and 1 deletions
|
|
@ -648,7 +648,7 @@ impl Inherited<'_, 'tcx> {
|
|||
}
|
||||
|
||||
impl<'tcx> InheritedBuilder<'tcx> {
|
||||
fn enter<F, R>(&mut self, f: F) -> R
|
||||
pub fn enter<F, R>(&mut self, f: F) -> R
|
||||
where
|
||||
F: for<'a> FnOnce(Inherited<'a, 'tcx>) -> R,
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue