Skip to content

Commit

Permalink
error
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulmth committed Nov 30, 2023
1 parent 1417af2 commit 4d32c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use serde_json::json;
use serde_json::Map;
use serde_json::Value;

pub(crate) const DIGESTS_KEY: &str = "_sd";
pub(crate) const DIGESTS_KEY: str = "_sd";

Check failure on line 18 in src/encoder.rs

View workflow job for this annotation

GitHub Actions / clippy

the size for values of type `str` cannot be known at compilation time

error[E0277]: the size for values of type `str` cannot be known at compilation time --> src/encoder.rs:18:31 | 18 | pub(crate) const DIGESTS_KEY: str = "_sd"; | ^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `str`
pub(crate) const ARRAY_DIGEST_KEY: &str = "...";
pub(crate) const DEFAULT_SALT_RANGE: Range<usize> = 24..34;

Expand Down

0 comments on commit 4d32c15

Please sign in to comment.