diff --git a/compiler/noirc_frontend/src/elaborator/patterns.rs b/compiler/noirc_frontend/src/elaborator/patterns.rs index fce3e0dfca0..b80769758bd 100644 --- a/compiler/noirc_frontend/src/elaborator/patterns.rs +++ b/compiler/noirc_frontend/src/elaborator/patterns.rs @@ -599,11 +599,10 @@ impl Elaborator<'_> { /// Solve any generics that are part of the path before the function, for example: /// - /// ```rust - /// foo::Bar::::baz - /// ^^^^^ - /// solve these + /// ```noir + /// foo::Bar::::baz /// ``` + /// Solve `` above fn resolve_item_turbofish(&mut self, item: PathResolutionItem) -> Vec { match item { PathResolutionItem::Method(struct_id, Some(generics), _func_id) => {