Skip to content

Commit d5da5b0

Browse files
authored
docs: correct typos in doc.go (#1282)
## Description I was reading through the docs at the package page in [https://pkg.go.dev/go.uber.org/fx](https://pkg.go.dev/go.uber.org/fx), and found two minor typos. This PR fixes them both. ## Changes - "rarelly" -> "rarely" (line 76) - "constribute" -> "contribute" (line 255)
1 parent 6fab1b2 commit d5da5b0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
// // ...
7474
// }
7575
//
76-
// Though it's rarelly necessary to mix the two, constructors can receive any
76+
// Though it's rarely necessary to mix the two, constructors can receive any
7777
// combination of parameter structs and parameters.
7878
//
7979
// func NewHandler(p HandlerParams, l *log.Logger) *Handler {
@@ -252,7 +252,7 @@
252252
// By default, when a constructor declares a dependency on a value group,
253253
// all values provided to that value group are eagerly instantiated.
254254
// That is undesirable for cases where an optional component wants to
255-
// constribute to a value group, but only if it was actually used
255+
// contribute to a value group, but only if it was actually used
256256
// by the rest of the application.
257257
//
258258
// A soft value group can be thought of as a best-attempt at populating the

0 commit comments

Comments
 (0)