summaryrefslogtreecommitdiff
path: root/src/sign.rs
diff options
context:
space:
mode:
authorStuart Stock <stuart@int08h.com>2018-02-24 23:18:52 -0600
committerStuart Stock <stuart@int08h.com>2018-02-24 23:18:52 -0600
commit1096512ab6d8f221fde003e989e383366e48a00f (patch)
tree5e572414192f1a80b4218a4cd87ac477294c1838 /src/sign.rs
parent270d6a61c91618977e18ba4846e93613a54d097a (diff)
downloadroughenough-1096512ab6d8f221fde003e989e383366e48a00f.zip
Clippy suggested fixes/changes
Diffstat (limited to 'src/sign.rs')
-rw-r--r--src/sign.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sign.rs b/src/sign.rs
index e53e566..c81ad38 100644
--- a/src/sign.rs
+++ b/src/sign.rs
@@ -68,7 +68,7 @@ pub struct Signer {
impl Signer {
pub fn new(seed: &[u8]) -> Self {
Signer {
- key_pair: Ed25519KeyPair::from_seed_unchecked(Input::from(&seed)).unwrap(),
+ key_pair: Ed25519KeyPair::from_seed_unchecked(Input::from(seed)).unwrap(),
buf: Vec::with_capacity(256),
}
}