cargo-clippy: Remove redundant reference

parent 1df910a5
......@@ -406,7 +406,7 @@ pub extern fn rsvg_parse_stroke_dasharray(string: *const libc::c_char) -> RsvgSt
Ok(StrokeDasharray::Dasharray(ref v)) => RsvgStrokeDasharray {
kind: RsvgStrokeDasharrayKind::Dashes,
num_dashes: v.len(),
dashes: to_c_array(&v)
dashes: to_c_array(v)
},
Err(_) => RsvgStrokeDasharray {
......
......@@ -586,7 +586,7 @@ fn emit_marker_by_name (draw_ctx: *const RsvgDrawingCtx,
let name = unsafe { utf8_cstr(marker_name) };
let c_node = drawing_ctx::acquire_node_of_type (draw_ctx, &name, NodeType::Marker);
let c_node = drawing_ctx::acquire_node_of_type (draw_ctx, name, NodeType::Marker);
if c_node.is_null () {
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment