From 8ec1f14999fd6896d3ba8d49f2ca41b8f78a0a47 Mon Sep 17 00:00:00 2001 From: John Downey Date: Tue, 23 Dec 2025 09:46:06 -0600 Subject: [PATCH] Fix docs error on new --- src/bath.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bath.gleam b/src/bath.gleam index aef941d..d534813 100644 --- a/src/bath.gleam +++ b/src/bath.gleam @@ -50,7 +50,7 @@ pub opaque type Builder(resource_type) { /// // Create a pool of 10 connections to some fictional database. /// let assert Ok(pool) = /// bath.new(fn() { fake_db.connect() }) -/// |> bath.with_size(10) +/// |> bath.size(10) /// |> bath.start(1000) /// } /// ```