From 8ddba99f05ab8f75e0a495820d1d787022ca8a40 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Mon, 28 Oct 2013 20:08:55 -0700 Subject: [PATCH] fmt! -> format! --- test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.rs b/test.rs index 37aa0ff..3e04499 100644 --- a/test.rs +++ b/test.rs @@ -58,7 +58,7 @@ fn load_shader(source_str: ~str, shader_type: GLenum) -> GLuint { compile_shader(shader_id); if get_error() != NO_ERROR { - println(fmt!("error: %d", get_error() as int)); + println(format!("error: {:d}", get_error() as int)); fail!(~"failed to compile shader with error"); }