From daa0fc02069afb837a90babfac97ae54c51d3f1f Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Mon, 18 Jul 2022 10:05:05 +0200 Subject: [PATCH] doc(bindings/crypto-js): Fix typos. --- bindings/matrix-sdk-crypto-js/src/tracing.rs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/bindings/matrix-sdk-crypto-js/src/tracing.rs b/bindings/matrix-sdk-crypto-js/src/tracing.rs index 98599dd36..ac0196c24 100644 --- a/bindings/matrix-sdk-crypto-js/src/tracing.rs +++ b/bindings/matrix-sdk-crypto-js/src/tracing.rs @@ -75,12 +75,13 @@ mod inner { /// Install the tracing layer. /// - /// `Tracing` is a singleton. Once it is installed, consecutive - /// calls to `install` will construct a new `Tracing` object but - /// with the exact same inner state. Calling `install` with a new - /// `min_level` will just update the `min_level` parameter; in - /// that regard, it is similar to calling the `min_level` method - /// on an existing `Tracing` object. + /// `Tracing` is a singleton. Once it is installed, + /// consecutive calls to the constructor will construct a new + /// `Tracing` object but with the exact same inner + /// state. Calling the constructor with a new `min_level` will + /// just update the `min_level` parameter; in that regard, it + /// is similar to calling the `min_level` method on an + /// existing `Tracing` object. #[wasm_bindgen(constructor)] pub fn new(min_level: LoggerLevel) -> Result { static mut INSTALL: Option = None;