Skip to content

Commit 418ddb5

Browse files
committed
Fixing style errors
1 parent d19f7bf commit 418ddb5

File tree

1 file changed

+1
-1
lines changed
  • exercises/practice/queen-attack/.approaches/simple-comparison

1 file changed

+1
-1
lines changed

exercises/practice/queen-attack/.approaches/simple-comparison/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class QueenAttackCalculator {
6969

7070
## Additional Explanation for Code
7171

72-
1. **Constructor**:
72+
1. **Constructor**:
7373
In the constructor of `QueenAttackCalculator`, we check if the queens are positioned at valid places. If either queen is `null`, or if both queens occupy the same position, an exception is thrown. The constructor takes two `Queen` objects, `queen1` and `queen2`, and stores them as instance variables.
7474

7575
2. **Method (`canQueensAttackOneAnother`)**:

0 commit comments

Comments
 (0)