We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afecd9c commit 8f4fd7fCopy full SHA for 8f4fd7f
ogcapi-drivers/src/s3/collection.rs
@@ -93,7 +93,9 @@ impl CollectionTransactions for S3 {
93
}
94
95
let mut collections = Collections::new(collections);
96
- collections.number_matched = collections.number_matched.to_owned();
+ collections
97
+ .number_returned
98
+ .clone_into(&mut collections.number_matched);
99
100
Ok(collections)
101
ogcapi-types/src/common/links.rs
@@ -46,7 +46,7 @@ impl Linked for Links {
46
for link in others {
47
self.iter_mut()
48
.find(|l| l.rel == link.rel)
49
- .map(|l| l.href = link.href.to_owned())
+ .map(|l| link.href.clone_into(&mut l.href))
50
.unwrap_or_else(|| self.push(link.to_owned()));
51
52
0 commit comments