Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@billy1624
Copy link
Member

PR Info

Fixes

  • [cli] generate model with Vec<f32> / Vec<f64> should not derive Eq on the model struct

#[test]
fn test_gen_expanded_code_blocks() -> io::Result<()> {
let entities = setup();
const ENTITY_FILES: [&str; 9] = [
Copy link
Member

@tyt2y3 tyt2y3 Oct 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try [_; _]

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wish that works. Seems it's coming but not on stable Rust just yet

@tyt2y3 tyt2y3 merged commit 5e0c625 into master Oct 26, 2022
@tyt2y3 tyt2y3 deleted the fix-vec-floats-not-derive-eq branch October 26, 2022 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Eq is not implemented for Vec<f64> error when using "postgress-array" feature

2 participants