about summary refs log tree commit diff
path: root/src/lib
diff options
context:
space:
mode:
authorBrian Anderson <andersrb@gmail.com>2011-04-11 21:55:03 -0400
committerBrian Anderson <andersrb@gmail.com>2011-04-11 21:55:03 -0400
commit73eecbd0cad2e4d16a6a2d0aa197e3bb60f93b1f (patch)
treecc461115b1be7272fdb7c7f0d00c5a6cf0ad06d6 /src/lib
parentbba245f3e6cdf9203cfafe7e8a81739a499b20eb (diff)
Factor out creation of calls into ExtFmt.RT
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ExtFmt.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ExtFmt.rs b/src/lib/ExtFmt.rs
index 7ef9160594d..e08de7ee414 100644
--- a/src/lib/ExtFmt.rs
+++ b/src/lib/ExtFmt.rs
@@ -264,15 +264,15 @@ mod CT {
 
 // Functions used by the fmt extension at runtime
 mod RT {
-    fn int_to_str(int i) -> str {
+    fn conv_int(int i) -> str {
         ret _int.to_str(i, 10u);
     }
 
-    fn uint_to_str(uint u) -> str {
+    fn conv_uint(uint u) -> str {
         ret _uint.to_str(u, 10u);
     }
 
-    fn bool_to_str(bool b) -> str {
+    fn conv_bool(bool b) -> str {
         if (b) {
             ret "true";
         } else {
@@ -280,7 +280,7 @@ mod RT {
         }
     }
 
-    fn char_to_str(char c) -> str {
+    fn conv_char(char c) -> str {
         ret _str.from_char(c);
     }
 }