Skip to content

Commit

Permalink
docs(process): Correctly format links
Browse files Browse the repository at this point in the history
These links appear broken on the hexdocs page
  • Loading branch information
Lilja authored and lpil committed Mar 12, 2024
1 parent 68bf0df commit 4386834
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/gleam/erlang/process.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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))
Expand Down

0 comments on commit 4386834

Please sign in to comment.