Skip to content

Accounts with f64 values yield the trait bound f64: std::cmp::Eq is not satisfied in rust clients #134

@0xC0A1

Description

@0xC0A1

Rust intentionally does not implement Eq for float types, yet floats are supported by both borsh/anchor.
Is there a way to avoid rendering that derive trait when the accounts/structs include f64 values?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions