From bac105a9aa31610f095a746ebd7c19fe48a93950 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Thu, 26 Jan 2023 09:59:15 +0100 Subject: [PATCH] doc(crypto-nodejs): Fix a typo. --- bindings/matrix-sdk-crypto-nodejs/src/machine.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/matrix-sdk-crypto-nodejs/src/machine.rs b/bindings/matrix-sdk-crypto-nodejs/src/machine.rs index d531ce1ab..288e57e64 100644 --- a/bindings/matrix-sdk-crypto-nodejs/src/machine.rs +++ b/bindings/matrix-sdk-crypto-nodejs/src/machine.rs @@ -20,7 +20,7 @@ use crate::{ /// The value used by the `OlmMachine` JS class. /// /// It has 2 states: `Opened` and `Closed`. Why maintaining the state here? -/// Because NodeJS has no way to drop an object explicitely, and we want to be +/// Because NodeJS has no way to drop an object explicitly, and we want to be /// able to “close” the `OlmMachine` to free all associated data. More over, /// `napi-rs` doesn't allow a function to take the ownership of the type itself /// (`fn close(self) { … }`). So we manage the state ourselves.