cleanup, improve docs

This commit is contained in:
Luke Boswell 2024-04-12 15:10:16 +10:00
parent c32fa5b600
commit 0143035dc0
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
8 changed files with 42 additions and 60 deletions

View file

@ -265,7 +265,6 @@ pub fn canonicalize_def_header_pattern<'a>(
match pattern {
// Identifiers that shadow ability members may appear (and may only appear) at the header of a def.
// TODO should we use suffixed here?
Identifier {
ident: name,
suffixed: _,
@ -377,7 +376,6 @@ pub fn canonicalize_pattern<'a>(
use PatternType::*;
let can_pattern = match pattern {
// TODO do we need to use suffixed here?
Identifier {
ident: name,
suffixed: _,
@ -634,7 +632,6 @@ pub fn canonicalize_pattern<'a>(
for loc_pattern in patterns.iter() {
match loc_pattern.value {
// TODO should we use suffixed here?
Identifier {
ident: label,
suffixed: _,