Typo fixes: "an"->"and" & "tex" -> "text" (#432)
This commit is contained in:
parent
ef36cac422
commit
60fd70921d
1 changed files with 2 additions and 2 deletions
|
@ -348,7 +348,7 @@ impl Storage for DummyStorage {
|
||||||
fn flush(&mut self) {}
|
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")]
|
#[cfg(feature = "ron")]
|
||||||
pub fn get_value<T: serde::de::DeserializeOwned>(storage: &dyn Storage, key: &str) -> Option<T> {
|
pub fn get_value<T: serde::de::DeserializeOwned>(storage: &dyn Storage, key: &str) -> Option<T> {
|
||||||
storage
|
storage
|
||||||
|
@ -415,7 +415,7 @@ pub mod http {
|
||||||
pub ok: bool,
|
pub ok: bool,
|
||||||
/// Status code (e.g. `404` for "File not found").
|
/// Status code (e.g. `404` for "File not found").
|
||||||
pub status: u16,
|
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,
|
pub status_text: String,
|
||||||
|
|
||||||
/// Content-Type header, or empty string if missing.
|
/// Content-Type header, or empty string if missing.
|
||||||
|
|
Loading…
Reference in a new issue