From 273eb19b88c54883a6158cc985f05eb93f9ab071 Mon Sep 17 00:00:00 2001 From: Simon Friis Vindum Date: Fri, 28 Nov 2025 09:24:31 +0100 Subject: [PATCH] Rust: Apply suggestions from code review Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com> --- .../lib/codeql/rust/dataflow/internal/TaintTrackingImpl.qll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rust/ql/lib/codeql/rust/dataflow/internal/TaintTrackingImpl.qll b/rust/ql/lib/codeql/rust/dataflow/internal/TaintTrackingImpl.qll index 52bec3f0414..bf8e8062623 100644 --- a/rust/ql/lib/codeql/rust/dataflow/internal/TaintTrackingImpl.qll +++ b/rust/ql/lib/codeql/rust/dataflow/internal/TaintTrackingImpl.qll @@ -12,9 +12,9 @@ private import codeql.rust.internal.Type as Type private import codeql.rust.frameworks.stdlib.Builtins as Builtins /** - * Holds if the field `field` should, by default, be excluded from taint steps. - * The syntax used to denote the field is the same as for `Field` in - * models-as-data. + * Holds if the field `field` should, by default, be excluded from taint steps + * from the containing type to reads of the field. The models-as-data syntax + * used to denote the field is the same as for `Field[]` access path elements. */ extensible predicate excludeFieldTaintStep(string field);