mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-09-01 01:13:48 +00:00
Merge branch 'fix-id_str-macro' into 'main'
id_str: macro: refer to `IdStr` with full path See merge request gstreamer/gstreamer-rs!1778
This commit is contained in:
commit
67a99f1e4d
2 changed files with 1 additions and 2 deletions
|
@ -44,7 +44,7 @@ mod serde;
|
|||
#[macro_export]
|
||||
macro_rules! idstr {
|
||||
($s:literal) => {
|
||||
IdStr::from_static($crate::glib::gstr!($s))
|
||||
$crate::IdStr::from_static($crate::glib::gstr!($s))
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@ impl<'de> Deserialize<'de> for IdStr {
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::idstr;
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in a new issue