Skip to content

Commit 9a7f74f

Browse files
committed
Typo!
1 parent 9d43207 commit 9a7f74f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,4 +410,4 @@
410410
([Giacomo Cavalieri](https://github.com/giacomocavalieri))
411411

412412
- Fixed a bug where the compiler allowed to write a guard with an empty clause.
413-
([Tristan-Mihai Radulescu][https://github.com/Courtcircuits])
413+
([Tristan-Mihai Radulescu](https://github.com/Courtcircuits))

compiler-core/src/warning.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,7 @@ To have a clause without a guard, remove this.",
380380
level: diagnostic::Level::Warning,
381381
location: Some(Location {
382382
label: diagnostic::Label {
383-
text: Some(
384-
"This can be removed.".into(),
385-
),
383+
text: Some("This can be removed.".into()),
386384
span: *location,
387385
},
388386
path: path.clone(),

0 commit comments

Comments
 (0)