diff --git a/src/graphics/shader.rs b/src/graphics/shader.rs
index 8d31829..e097ebf 100644
--- a/src/graphics/shader.rs
+++ b/src/graphics/shader.rs
@@ -195,7 +195,7 @@ impl Shader {
/// underlying graphics API encounters an error.
/// * [`TetraError::InvalidShader`](crate::TetraError::InvalidShader) will be returned if the
/// shader could not be compiled.
- pub fn from_vertex_string
(ctx: &mut Context, shader: &str) -> Result {
+ pub fn from_vertex_string(ctx: &mut Context, shader: &str) -> Result {
Shader::with_device(&mut ctx.device, shader, DEFAULT_FRAGMENT_SHADER)
}
@@ -209,7 +209,7 @@ impl Shader {
/// underlying graphics API encounters an error.
/// * [`TetraError::InvalidShader`](crate::TetraError::InvalidShader) will be returned if the
/// shader could not be compiled.
- pub fn from_fragment_string(ctx: &mut Context, shader: &str) -> Result {
+ pub fn from_fragment_string(ctx: &mut Context, shader: &str) -> Result {
Shader::with_device(&mut ctx.device, DEFAULT_VERTEX_SHADER, shader)
}