Skip to content

Commit fb8222e

Browse files
committed
comment fix
1 parent ea8f312 commit fb8222e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • noir-projects/aztec-nr/aztec/src/macros

noir-projects/aztec-nr/aztec/src/macros/utils.nr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,9 @@ pub(crate) comptime fn is_note(typ: Type) -> bool {
256256
})
257257
}
258258

259-
/// We get the typed expressions of a trait method implementation rather than directly inlining them in a quote with
260-
/// `$typ::target_method()`. Direct inlining would result in missing import warnings in the generated code
261-
/// (specifically, warnings that `target_trait` is implemented but not in scope).
259+
/// Returns the typed expression of a trait method implementation. This is preferred over directly inlining with
260+
/// `$typ::target_method()` in a quote, as direct inlining would result in missing import warnings in the generated
261+
/// code (specifically, warnings that the trait implementation is not in scope).
262262
pub(crate) comptime fn get_trait_impl_method(
263263
typ: Type,
264264
target_trait: Quoted,

0 commit comments

Comments
 (0)