Update ql/src/queries/style/RankOne.ql

Co-authored-by: Taus <tausbn@github.com>
This commit is contained in:
Erik Krogh Kristensen
2021-08-18 11:25:36 +02:00
committed by GitHub
parent feb1ab86f0
commit 91b8c1c4a0

View File

@@ -1,6 +1,6 @@
/**
* @name Selecting minimum element using `rank[1]`
* @description Selecting the minimim element using `rank[1]` performs worse than doing the same thing with `min(..)`.
* @description Selecting the minimum element using `rank[1](..)` performs worse than doing the same thing with `min(..)`.
* @kind problem
* @problem.severity warning
* @id ql/rank-one