From 4e0d011bc40353762e546d3204b9f9e4c10a887c Mon Sep 17 00:00:00 2001 From: Leon Qadirie <39130739+leonqadirie@users.noreply.github.com> Date: Wed, 25 Sep 2024 22:26:07 +0200 Subject: [PATCH] Fix `static_supervisor` documentation --- src/gleam/otp/static_supervisor.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gleam/otp/static_supervisor.gleam b/src/gleam/otp/static_supervisor.gleam index 3191acf..664a8d7 100644 --- a/src/gleam/otp/static_supervisor.gleam +++ b/src/gleam/otp/static_supervisor.gleam @@ -259,7 +259,7 @@ pub fn timeout(child: ChildBuilder, ms ms: Int) -> ChildBuilder { /// When the child is to be restarted. See the `Restart` documentation for /// more. /// -/// The default value for significance is `Permenent`. +/// The default value for restart is `Permenent`. pub fn restart(child: ChildBuilder, restart: Restart) -> ChildBuilder { ChildBuilder(..child, restart: restart) }