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 4d32c15 commit f1a9b42
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 @@ -16,7 +16,7 @@ use serde_json::Map;
use serde_json::Value;

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 ARRAY_DIGEST_KEY: str = "...";

Check failure on line 19 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:19:36 | 19 | pub(crate) const ARRAY_DIGEST_KEY: str = "..."; | ^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `str`
pub(crate) const DEFAULT_SALT_RANGE: Range<usize> = 24..34;

/// Transforms a JSON object into an SD-JWT object by substituting selected values
Expand Down

0 comments on commit f1a9b42

Please sign in to comment.