Skip to content

Commit 8ea9672

Browse files
jroeschJared Roesch
authored and
Jared Roesch
committed
Address nit
1 parent 55621b6 commit 8ea9672

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_typeck/check

1 file changed

+1
-1
lines changed

src/librustc_typeck/check/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1711,7 +1711,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
17111711

17121712
/// Apply "fallbacks" to some types
17131713
/// ! gets replaced with (), unconstrained ints with i32, and unconstrained floats with f64.
1714-
pub fn default_type_parameters(&self) {
1714+
fn default_type_parameters(&self) {
17151715
use middle::ty::UnconstrainedNumeric::{UnconstrainedInt, UnconstrainedFloat, Neither};
17161716
for ty in &self.infcx().unsolved_variables() {
17171717
let resolved = self.infcx().resolve_type_vars_if_possible(ty);

0 commit comments

Comments
 (0)