From 6e39dba6148e902e57c6ceced1442723911bb8b1 Mon Sep 17 00:00:00 2001 From: Maarten van Vliet Date: Wed, 4 May 2022 19:37:58 +0200 Subject: [PATCH] Fix typo --- docs/concepts/resources.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts/resources.md b/docs/concepts/resources.md index ee5da8b..737c006 100644 --- a/docs/concepts/resources.md +++ b/docs/concepts/resources.md @@ -4,7 +4,7 @@ sidebar_position: 2 # Resources -Resources are often used when you want to return a Rust resource into Elixir without needing to convert the data into a term. This can be useful in a wire variety of cases, some examples: +Resources are often used when you want to return a Rust resource into Elixir without needing to convert the data into a term. This can be useful in a wide variety of cases, some examples: * Wrapping a native library. Native libraries often contain structs that methods are called on to perform manipulations. Those structs can be exposed as a Resource, and the methods can be exposed as separate NIFs. * Implementing an efficient data structure natively, for use in Elixir. You would wrap your data structure in a resource, and write NIFs to manipulate the structure.