Skip to content

Commit

Permalink
make InheritedBuilder::enter public
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan1729 committed Aug 3, 2020
1 parent 372e514 commit 891f2a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_typeck/check/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
{
Expand Down

0 comments on commit 891f2a1

Please sign in to comment.