diff --git a/src/libstd/sha1.rs b/src/libstd/sha1.rs index 70aaf4f3f8c..2fb12460498 100644 --- a/src/libstd/sha1.rs +++ b/src/libstd/sha1.rs @@ -37,9 +37,9 @@ use core::vec; /// The SHA-1 interface trait Sha1 { /// Provide message input as bytes - fn input((&[const u8])); + fn input(&[const u8]); /// Provide message input as string - fn input_str((&str)); + fn input_str(&str); /** * Read the digest as a vector of 20 bytes. After calling this no further * input may be provided until reset is called.