Skip to content

Commit 7727138

Browse files
authored
docs: fix formatting and punctuation (#2320)
1 parent 6b7a733 commit 7727138

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

exercises/concept/squeaky-clean/.docs/instructions.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
# Instructions
22

3-
In this exercise you will implement a partial set of utility routines to help a developer
4-
clean up identifier names.
5-
6-
In the 5 tasks you will gradually build up the routine `Clean` A valid identifier comprises
7-
zero or more letters and underscores.
8-
9-
In all cases the input string is guaranteed to be non-null. If an empty string is passed to the `Clean` function, an empty string should be returned.
10-
3+
In this exercise, you will implement a partial set of utility routines to help a developer clean up identifier names.
4+
In the 5 tasks you will gradually build up the routine `Clean`.
5+
A valid identifier comprises zero or more letters and underscores.
6+
In all cases, the input string is guaranteed to be non-null.
7+
If an empty string is passed to the `Clean` function, an empty string should be returned.
118
Note that the caller should avoid calling the routine `Clean` with an empty identifier since such identifiers are ineffectual.
129

1310
## 1. Replace any spaces encountered with underscores
1411

15-
Implement the (_static_) `Identifier.Clean()` method to replace any spaces with underscores. This also applies to leading and trailing spaces.
12+
Implement the (_static_) `Identifier.Clean()` method to replace any spaces with underscores.
13+
This also applies to leading and trailing spaces.
1614

1715
```csharp
1816
Identifier.Clean("my Id");

0 commit comments

Comments
 (0)