* fix #13218: avoid some irrelevant warnings for nim doc,rst2html * suppress warnRedefinitionOfLabel for nim doc * lots of fixes for UnusedImport warnings
This commit is contained in:
parent
380a505507
commit
6e0c06f50e
11 changed files with 27 additions and 12 deletions
|
|
@ -24,8 +24,6 @@
|
|||
## either casting to float or rounding to int might be preferred, and users
|
||||
## should make an explicit choice.
|
||||
|
||||
import typetraits
|
||||
|
||||
proc `+`*[I: SomeInteger, F: SomeFloat](i: I, f: F): F {.noSideEffect, inline.} =
|
||||
F(i) + f
|
||||
proc `+`*[I: SomeInteger, F: SomeFloat](f: F, i: I): F {.noSideEffect, inline.} =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue