Skip to content

Commit

Permalink
Remove unnecessary TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
NotGyro committed Feb 19, 2024
1 parent eb1452c commit b2555d0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pgrx-sql-entity-graph/src/used_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,6 @@ fn resolve_result_inner(
.ok_or(syn::Error::new(original.span(), "Could not read last segment of path"))?;

// Get the path of our Result type, to handle crate::module::Result pattern
// TODO - more robust / idiomatic way of handling this?
let mut without_type_args = original.path.clone();
without_type_args.segments.last_mut().unwrap().arguments = syn::PathArguments::None;

Expand Down

0 comments on commit b2555d0

Please sign in to comment.