rust-embed v8.11.0
git clone https://git.pyrossh.dev/rust-embed
rust macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.
4b19359
— Ryan Lopopolo
2019-06-24T01:24:55+01:00
Fix doctest build failures on nightly
- src/lib.rs +2 -0
src/lib.rs
CHANGED
|
@@ -22,6 +22,8 @@ pub mod utils;
|
|
|
22
22
|
/// #[derive(RustEmbed)]
|
|
23
23
|
/// #[folder = "examples/public/"]
|
|
24
24
|
/// struct Asset;
|
|
25
|
+
///
|
|
26
|
+
/// fn main() {}
|
|
25
27
|
/// ```
|
|
26
28
|
|
|
27
29
|
pub trait RustEmbed {
|