Typo fixes: "an"->"and" & "tex" -> "text" (#432)

This commit is contained in:
follower 2021-06-13 08:17:57 +12:00 committed by GitHub
parent ef36cac422
commit 60fd70921d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -348,7 +348,7 @@ impl Storage for DummyStorage {
fn flush(&mut self) {}
}
/// Get an deserialize the [RON](https://github.com/ron-rs/ron) stored at the given key.
/// Get and deserialize the [RON](https://github.com/ron-rs/ron) stored at the given key.
#[cfg(feature = "ron")]
pub fn get_value<T: serde::de::DeserializeOwned>(storage: &dyn Storage, key: &str) -> Option<T> {
storage
@ -415,7 +415,7 @@ pub mod http {
pub ok: bool,
/// Status code (e.g. `404` for "File not found").
pub status: u16,
/// Status tex (e.g. "File not found" for status code `404`).
/// Status text (e.g. "File not found" for status code `404`).
pub status_text: String,
/// Content-Type header, or empty string if missing.