File tree Expand file tree Collapse file tree
noir-projects/aztec-nr/aztec/src/macros Expand file tree Collapse file tree Original file line number Diff line number Diff 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).
262262pub (crate ) comptime fn get_trait_impl_method (
263263 typ : Type ,
264264 target_trait : Quoted ,
You can’t perform that action at this time.
0 commit comments