about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJared Roesch <roeschinc@gmail.com>2015-07-25 19:27:15 -0700
committerJared Roesch <jroesch@MacBook.home>2015-07-25 20:05:42 -0700
commit8ea9672f825118c11dcc3586bbc69a0d7e75b49b (patch)
treefba0d7af0d45f45a667a62316f1d232a64f23416
parent55621b6199dcef7090bdbb660a5ab9354b3effa6 (diff)
downloadrust-8ea9672f825118c11dcc3586bbc69a0d7e75b49b.tar.gz
rust-8ea9672f825118c11dcc3586bbc69a0d7e75b49b.zip
Address nit
-rw-r--r--src/librustc_typeck/check/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_typeck/check/mod.rs b/src/librustc_typeck/check/mod.rs
index eb0ef30d396..85df5d67ff6 100644
--- a/src/librustc_typeck/check/mod.rs
+++ b/src/librustc_typeck/check/mod.rs
@@ -1711,7 +1711,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
 
     /// Apply "fallbacks" to some types
     /// ! gets replaced with (), unconstrained ints with i32, and unconstrained floats with f64.
-    pub fn default_type_parameters(&self) {
+    fn default_type_parameters(&self) {
         use middle::ty::UnconstrainedNumeric::{UnconstrainedInt, UnconstrainedFloat, Neither};
         for ty in &self.infcx().unsolved_variables() {
             let resolved = self.infcx().resolve_type_vars_if_possible(ty);