mirror of
https://github.com/trussed-dev/littlefs2.git
synced 2026-06-20 04:16:32 -07:00
Fix macro hygiene for path!
This commit is contained in:
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## Unreleased
|
||||
|
||||
## Fixed
|
||||
- Fixed macro hygiene for `path!`.
|
||||
|
||||
## [v0.4.0] - 2023-02-07
|
||||
|
||||
This release fixes an overflow of the lookahead buffer. Users are advised to
|
||||
|
||||
+1
-1
@@ -187,7 +187,7 @@ pub struct Version {
|
||||
#[macro_export]
|
||||
macro_rules! path {
|
||||
($path:literal) => {
|
||||
Path::from_str_with_nul(::core::concat!($path, "\0"))
|
||||
$crate::path::Path::from_str_with_nul(::core::concat!($path, "\0"))
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user