Skip to content

Commit

Permalink
Fix mdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoo committed Jul 27, 2023
1 parent 2bde2ef commit 7150514
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docs/dsl/headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ object SimpleClientJson extends ZIOAppDefault {
} yield ()

override def run =
program.provide(Client.default)

program.provideSome[Scope](Client.default)
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/basic/http-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ object SimpleClient extends ZIOAppDefault {
_ <- Console.printLine(data)
} yield ()

override val run = program.provide(Client.default)
override val run = program.provideSome[Scope](Client.default)

}

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/basic/https-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ object HttpsClient extends ZIOAppDefault {
} yield ()

val run =
program.provide(
program.provideSome[Scope](
ZLayer.succeed(clientConfig),
Client.customized,
NettyClientDriver.live,
Expand Down

0 comments on commit 7150514

Please sign in to comment.