mirror of
https://github.com/RGBCube/embd-rs
synced 2025-07-27 05:27:44 +00:00
Use absolute imports in all macros
This commit is contained in:
parent
b2be0579f8
commit
2b624eb362
1 changed files with 4 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
|||
#[macro_export]
|
||||
macro_rules! string {
|
||||
($path:literal) => {{
|
||||
use std::borrow::Cow;
|
||||
use ::std::borrow::Cow;
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
{
|
||||
use std::{
|
||||
use ::std::{
|
||||
fs,
|
||||
path::Path,
|
||||
};
|
||||
|
@ -32,11 +32,11 @@ macro_rules! string {
|
|||
#[macro_export]
|
||||
macro_rules! bytes {
|
||||
($path:literal) => {{
|
||||
use std::borrow::Cow;
|
||||
use ::std::borrow::Cow;
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
{
|
||||
use std::{
|
||||
use ::std::{
|
||||
fs,
|
||||
path::Path,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue