Closed OlekRia closed 3 months ago
`use sha2::{Digest, Sha256};
Sha256::new() `
Made as in documentation described. Raises a error: method new() doesn't exist.
It works well on 0.9 version.
P.S. Macbook Pro M2
It works without issues (the playground uses sha2 v0.10.8). Also, we test our code examples as part of CI, so the problem is likely with your code or setup.
sha2 v0.10.8
`use sha2::{Digest, Sha256};
Sha256::new() `
Made as in documentation described. Raises a error: method new() doesn't exist.
It works well on 0.9 version.
P.S. Macbook Pro M2