mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-09-01 01:13:48 +00:00
id_str: macro: refer to IdStr
with full path
... otherwise callers need to explicitly `use gst::IdStr`. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1778>
This commit is contained in:
parent
db273f5007
commit
ccca1db3fb
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