From 60085305b48d4a8c443cf05dc675ed25a919f076 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 6 Dec 2021 05:31:28 +0000 Subject: [PATCH] Fix spelling of 'Borsh' (#21624) (cherry picked from commit f3c2803af92c67272050a4c75ba64826a9d6e2b4) Co-authored-by: Brian Anderson --- docs/src/developing/clients/javascript-reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/developing/clients/javascript-reference.md b/docs/src/developing/clients/javascript-reference.md index f378ddb7f6..d798c234ac 100644 --- a/docs/src/developing/clients/javascript-reference.md +++ b/docs/src/developing/clients/javascript-reference.md @@ -428,7 +428,7 @@ await web3.sendAndConfirmTransaction(connection, transaction, [fromPublicKey]) [SourceDocumentation](https://solana-labs.github.io/solana-web3.js/classes/Struct.html) -The struct class is used to create Rust compatible structs in javascript. This class is only compatible with Borsch encoded Rust structs. +The struct class is used to create Rust compatible structs in javascript. This class is only compatible with Borsh encoded Rust structs. #### Example Usage @@ -455,7 +455,7 @@ export class Fee extends Struct { [Source Documentation](https://solana-labs.github.io/solana-web3.js/classes/Enum.html) -The Enum class is used to represent a Rust compatible Enum in javascript. The enum will just be a string representation if logged but can be properly encoded/decoded when used in conjunction with [Struct](javascript-api.md#Struct). This class is only compatible with Borsch encoded Rust enumerations. +The Enum class is used to represent a Rust compatible Enum in javascript. The enum will just be a string representation if logged but can be properly encoded/decoded when used in conjunction with [Struct](javascript-api.md#Struct). This class is only compatible with Borsh encoded Rust enumerations. #### Example Usage