Browse Source

Fix doc link to stdlib include_bytes

pull/22/head
Ian Chamberlain 1 year ago
parent
commit
4e5c916782
No known key found for this signature in database
GPG Key ID: AE5484D09405AA60
  1. 2
      citro3d-macros/src/lib.rs

2
citro3d-macros/src/lib.rs

@ -13,7 +13,7 @@ use quote::quote;
/// Compiles the given PICA200 shader using [`picasso`](https://github.com/devkitPro/picasso) /// Compiles the given PICA200 shader using [`picasso`](https://github.com/devkitPro/picasso)
/// and returns the compiled bytes directly as a `&[u8]` slice. /// and returns the compiled bytes directly as a `&[u8]` slice.
/// ///
/// This is similar to the standard library's [`include_bytes!`] macro, for which /// This is similar to the standard library's [`include_bytes!`](std::include_bytes) macro, for which
/// file paths are relative to the source file where the macro is invoked. /// file paths are relative to the source file where the macro is invoked.
/// ///
/// The compiled shader binary will be saved in the caller's `$OUT_DIR`. /// The compiled shader binary will be saved in the caller's `$OUT_DIR`.

Loading…
Cancel
Save