mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
Typo fixes: "an"->"and" & "tex" -> "text" (#432)
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user