has -> implements in fn names

This commit is contained in:
Bryce Miller 2023-05-26 23:25:21 -04:00
parent edf969809e
commit 76551375b9
No known key found for this signature in database
GPG key ID: F1E97BF8DF152350

View file

@ -5425,7 +5425,7 @@ mod test_fmt {
}
#[test]
fn opaque_has_clause() {
fn opaque_implements_clause() {
expr_formats_same(indoc!(
r#"
A := U8 implements [Eq, Hash]
@ -5522,7 +5522,7 @@ mod test_fmt {
}
#[test]
fn opaque_has_with_impls() {
fn opaque_implements_with_impls() {
expr_formats_same(indoc!(
r#"
A := U8 implements [Eq { eq }, Hash { hash }]