Skip to content

Commit e0cff66

Browse files
chancedanonrig
authored andcommitted
removes Clone derive
1 parent 9acda2f commit e0cff66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ pub enum Error {
136136
#[error("Invalid url: \"{0}\"")]
137137
ParseUrl(String),
138138
}
139-
#[derive(Clone)]
139+
140140
pub struct Url {
141141
url: *mut ffi::ada_url,
142142
}
@@ -666,6 +666,7 @@ mod test {
666666
// fn clone_should_create_new_instance() {
667667
// let url = Url::parse("http://example.com/", None).expect("Should have parsed url");
668668
// let cloned = url.clone();
669+
// println!("{cloned}");
669670
// assert_eq!(url, cloned);
670671
// assert_ne!(url.as_ptr(), cloned.as_ptr());
671672
// }

0 commit comments

Comments
 (0)