 <p><strong>Edit:</strong> <code>str::from_char</code> has been deprecated. Use <a href="http://doc.rust-lang.org/std/string/struct.String.html#method.from_char" rel="nofollow"><code>String::from_char</code></a> or <code>char::to_string()</code> instead:</p> <pre><code>fn main() { io::println(String::from_char(1, 'c')); } </code></pre> <hr> <p>Digging through the documentation a bit, I found the <a href="http://doc.rust-lang.org/std/str/fn.from_char.html" rel="nofollow"><code>from_char</code></a> function. Try:</p> <pre><code>fn main() { io::println(str::from_char('c')); } </code></pre>