Skip to content

Commit

Permalink
Fix static_supervisor documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
leonqadirie authored and lpil committed Sep 26, 2024
1 parent 303c683 commit 4e0d011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gleam/otp/static_supervisor.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 4e0d011

Please sign in to comment.