From aaee28b34fa3a0a41c7c2bf7aea17af5d1d042e9 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Wed, 4 May 2022 13:48:11 +0200 Subject: [PATCH] style: Improved wording MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As suggested in the review. Co-authored-by: Damir Jelić --- README.md | 2 +- crates/matrix-sdk/README.md | 4 ++-- crates/matrix-sdk/src/store.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fe6002c25..934c9d983 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The rust-sdk consists of multiple crates that can be picked at your convenience: ## Minimum Supported Rust Version (MSRV) -These crates are build with Rust language version 2021 and require a minimum compiler version of `1.60` +These crates are built with the Rust language version 2021 and require a minimum compiler version of `1.60` ## Status diff --git a/crates/matrix-sdk/README.md b/crates/matrix-sdk/README.md index 8ec98a406..392a9b79a 100644 --- a/crates/matrix-sdk/README.md +++ b/crates/matrix-sdk/README.md @@ -69,8 +69,8 @@ The following crate feature flags are available: | `markdown` | No | Support to send Markdown-formatted messages | | `qrcode` | Yes | QR code verification support | | `sled` | Yes | Persistent storage of state and E2EE-Data using sled (if `e2e-encryption` is activated) -| `sled` | No | Persistent storage of state and E2EE-Data for browsers using indexeddb (if `e2e-encryption` is activated) -| `socks` | No | Enables SOCKS support i |n the default HTTP client, [`reqwest`] | +| `indexdb` | No | Persistent storage of state and E2EE-Data for browsers using indexeddb (if `e2e-encryption` is activated) +| `socks` | No | Enables SOCKS support in the default HTTP client, [`reqwest`] | | `sso-login` | No | Enables SSO login with a local HTTP server | [`reqwest`]: https://docs.rs/reqwest/0.11.5/reqwest/index.html diff --git a/crates/matrix-sdk/src/store.rs b/crates/matrix-sdk/src/store.rs index cf3610060..c99665341 100644 --- a/crates/matrix-sdk/src/store.rs +++ b/crates/matrix-sdk/src/store.rs @@ -18,10 +18,10 @@ //! //! 1. `sled` provides a `StateStore`, and a `CryptoStore` for encryption data //! if `e2e-encryption` is enabled. This is the default persistent store -//! implementation for non-WebAssembly. +//! implementation for non-WebAssembly targets. //! 2. `indexeddb`, too, provides a `StateStore` and a `CryptoStore` if //! `encryption` is also enabled. This is the default persistent store -//! implementation for WebAssembly. +//! implementation for WebAssembly targets. //! //! Both options provide a `make_store_config` convenience method to create a //! [`StoreConfig`] for [`ClientBuilder::store_config()`].