Skip to content

Commit b7e1b84

Browse files
committed
fix: Make sure orig isn't optimized out
1 parent 0a30425 commit b7e1b84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ impl From<faup_rs::Url<'_>> for Url {
9393
};
9494

9595
Self {
96-
orig: value.to_string(),
96+
orig: value.as_str().into(),
9797
scheme: value.scheme().into(),
9898
username,
9999
password,

0 commit comments

Comments
 (0)