From e0cb8e9d9b0f6e733bdce59dfbfdc94d06bfb340 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Fri, 17 Apr 2020 00:17:59 +0100 Subject: Correct mistakes in atom docs --- src/gleam/atom.gleam | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gleam/atom.gleam b/src/gleam/atom.gleam index 46052b1..c8fc79c 100644 --- a/src/gleam/atom.gleam +++ b/src/gleam/atom.gleam @@ -15,7 +15,8 @@ /// pub external type Atom; -/// Error returned when a given Atom does not currently exist +/// An error returned when no atom is found in the virtual machine's atom table +/// for a given string when calling the [`from_string`](#from_string) function. pub type FromStringError { AtomNotLoaded } @@ -23,7 +24,7 @@ pub type FromStringError { /// Find an existing Atom for the given String. /// /// If no atom is found in the virtual machine's atom table for the String then -/// an gaerror is returned. +/// an error is returned. /// /// ## Examples /// -- cgit v1.2.3