summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorHerve Codina <herve.codina@bootlin.com>2023-06-23 10:58:24 +0200
committerMark Brown <broonie@kernel.org>2023-07-09 22:48:14 +0100
commitc952c748c7a983a8bda9112984e6f2c1f6e441a5 (patch)
tree6836c050c433568d9de66c09b5149160c7291c1c /rust/alloc/collections/git@git.tavy.me:linux.git
parent524cfdf6b88e2536f90f726b8c01ffe218f37d68 (diff)
minmax: Introduce {min,max}_array()
Introduce min_array() (resp max_array()) in order to get the minimal (resp maximum) of values present in an array. Signed-off-by: Herve Codina <herve.codina@bootlin.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> Link: https://lore.kernel.org/r/20230623085830.749991-8-herve.codina@bootlin.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions