This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Commit 043a60b
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: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* Update primitives/arithmetic/src/traits.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
* cargo fmt
* Apply suggestions from code review
* ".git/.scripts/fmt.sh" 1
Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: command-bot <>1 parent 891d6a5 commit 043a60b
4 files changed
Lines changed: 564 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
53 | 81 | | |
54 | 82 | | |
55 | 83 | | |
| |||
0 commit comments