Skip to content

Implement std::ops for maths #66

@maciejhirsz

Description

@maciejhirsz

Implement ops traits to make working with numbers easy:

let data = object!{ foo => 10 };

data["foo"] += 1;

assert_eq(data.dump(), r#"{"foo":11}"#);

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions