Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/text/json
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2022-01-17 20:36:41 +0300
committerSebastian Dröge <sebastian@centricular.com>2022-01-17 20:36:41 +0300
commitb2d017242204d5b395c52b101f6956985a57d911 (patch)
tree0c2f131af70dd06e28a0d7df45dca0e8b1707ab0 /text/json
parent75d348709c74cb62f9b4dd64fb310ed311f22ac9 (diff)
Replace `Foo::from_instance(foo)` with `foo.imp()`
Diffstat (limited to 'text/json')
-rw-r--r--text/json/src/jsongstparse/imp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/text/json/src/jsongstparse/imp.rs b/text/json/src/jsongstparse/imp.rs
index 92e49285..3618d55f 100644
--- a/text/json/src/jsongstparse/imp.rs
+++ b/text/json/src/jsongstparse/imp.rs
@@ -394,7 +394,7 @@ impl JsonGstParse {
}
};
- let parse = Self::from_instance(&element);
+ let parse = element.imp();
parse.loop_fn(&element);
});
if res.is_err() {