~repos /rust-embed
git clone https://pyrossh.dev/repos/rust-embed.git
rust macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.
4b19359e
—
Ryan Lopopolo 6 years ago
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 {
|