Skip to content

Commit ec69843

Browse files
committed
[alg] Fix a typo in the doc string for Alg.
1 parent 6ec8d5e commit ec69843

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cubing/alg/Alg.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ export function experimentalEnsureAlg(alg: FlexibleAlgSource): Alg {
4848
}
4949

5050
/**
51-
* Alg is a class that encapsulated a structured alg. To create an alg from a string, use:
51+
* Alg is a class that encapsulates a structured alg. To create an alg from a string, use:
5252
*
5353
* new Alg("R U R'"); // Convenient
54-
* Alg.fromString(dynamicString); // Recommended when handling dynamic input.
54+
* Alg.fromString(dynamicString); // Recommended when user-provided string input.
5555
*
5656
* Once you have an Alg, you can call methods to transform it:
5757
*

0 commit comments

Comments
 (0)