From 4386834642ab4bd8dc0c6ff082859d7a4274bac7 Mon Sep 17 00:00:00 2001 From: Erik Lilja Date: Tue, 12 Mar 2024 10:26:11 +0100 Subject: [PATCH] docs(process): Correctly format links These links appear broken on the hexdocs page --- src/gleam/erlang/process.gleam | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/gleam/erlang/process.gleam b/src/gleam/erlang/process.gleam index f660306..b621714 100644 --- a/src/gleam/erlang/process.gleam +++ b/src/gleam/erlang/process.gleam @@ -683,8 +683,9 @@ fn erlang_send_exit(to to: Pid, because because: whatever) -> Bool /// Sends an exit signal to a process, indicating that the process is to shut /// down. /// -/// See the [Erlang documentation][erl] for more information. -/// [erl]: http://erlang.org/doc/man/erlang.html#exit-2 +/// See the [Erlang documentation][1] for more information. +/// +/// [1]: http://erlang.org/doc/man/erlang.html#exit-2 /// pub fn send_exit(to pid: Pid) -> Nil { erlang_send_exit(pid, Normal) @@ -694,8 +695,9 @@ pub fn send_exit(to pid: Pid) -> Nil { /// Sends an exit signal to a process, indicating that the process is to shut /// down due to an abnormal reason such as a failure. /// -/// See the [Erlang documentation][erl] for more information. -/// [erl]: http://erlang.org/doc/man/erlang.html#exit-2 +/// See the [Erlang documentation][1] for more information. +/// +/// [1]: http://erlang.org/doc/man/erlang.html#exit-2 /// pub fn send_abnormal_exit(pid: Pid, reason: String) -> Nil { erlang_send_exit(pid, Abnormal(reason))