Skip to content
Commit af792206 authored by Luis Enrique Muñoz Martín's avatar Luis Enrique Muñoz Martín Committed by GitHub
Browse files

Add ensure-ops family methods (#12967)



* add ensure-ops family methods

* fix cargo doc

* add EnsureOp and EnsureOpAssign meta traits

* move ensure module and ArithmeticError to sp-arithmetic

* fix doc examples

* reexport ensure module content

* ensure mod private

* reexport to sp-runtime

* fix doc example

* remove into(). in doc examples, minor doc changes

* remove return value from assign methods

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* cargo fmt

* Apply suggestions from code review

* ".git/.scripts/fmt.sh" 1

Co-authored-by: default avatarBastian Köcher <[email protected]>
Co-authored-by: command-bot <>
parent 0a94112c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment