Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tu6ge committed Jul 28, 2023
1 parent bbede50 commit cb5d5bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ impl TryFrom<&[u8]> for ObjectPathInner<'_> {
use std::str;

str::from_utf8(value)
.map_err(|_| InvalidObjectPath::new())
.map_err(|_| InvalidObjectPath { _priv: () })
.and_then(|s| s.parse())
}
}
Expand Down

0 comments on commit cb5d5bb

Please sign in to comment.