Misc nitpicks, changes too small / unrelated to be in other PRs (#32768)
Release Notes: - N/A
This commit is contained in:
parent
02da4669f3
commit
3810227759
8 changed files with 26 additions and 21 deletions
|
@ -863,6 +863,7 @@ mod rng {
|
|||
}
|
||||
#[cfg(any(test, feature = "test-support"))]
|
||||
pub use rng::RandomCharIter;
|
||||
|
||||
/// Get an embedded file as a string.
|
||||
pub fn asset_str<A: rust_embed::RustEmbed>(path: &str) -> Cow<'static, str> {
|
||||
match A::get(path).expect(path).data {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue