1
Fork 0

remove _types from ocx method names

This commit is contained in:
Michael Goulet 2022-10-27 15:41:50 +00:00
parent ce11ae5d0d
commit 2f9794b84a
4 changed files with 11 additions and 14 deletions

View file

@ -112,7 +112,7 @@ impl<'a, 'tcx> ObligationCtxt<'a, 'tcx> {
self.register_infer_ok_obligations(infer_ok)
}
pub fn equate_types<T: ToTrace<'tcx>>(
pub fn eq<T: ToTrace<'tcx>>(
&self,
cause: &ObligationCause<'tcx>,
param_env: ty::ParamEnv<'tcx>,
@ -128,7 +128,7 @@ impl<'a, 'tcx> ObligationCtxt<'a, 'tcx> {
}
}
pub fn sup_types<T: ToTrace<'tcx>>(
pub fn sup<T: ToTrace<'tcx>>(
&self,
cause: &ObligationCause<'tcx>,
param_env: ty::ParamEnv<'tcx>,