<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/alloc/src/borrow.rs, branch 1.84.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.84.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.84.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-10-12T17:48:28+00:00</updated>
<entry>
<title>remove const_cow_is_borrowed feature gate</title>
<updated>2024-10-12T17:48:28+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-10-12T17:48:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a0661ec331e87758fd7e4a4b45f460200e8394ec'/>
<id>urn:sha1:a0661ec331e87758fd7e4a4b45f460200e8394ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reformat `use` declarations.</title>
<updated>2024-07-28T22:26:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-07-28T22:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84ac80f1921afc243d71fd0caaa4f2838c294102'/>
<id>urn:sha1:84ac80f1921afc243d71fd0caaa4f2838c294102</id>
<content type='text'>
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
</content>
</entry>
<entry>
<title>Impl `DerefPure` for more std types</title>
<updated>2024-04-04T22:02:42+00:00</updated>
<author>
<name>Nadrieril</name>
<email>nadrieril+git@gmail.com</email>
</author>
<published>2024-03-29T13:33:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1a83bea1075cf8068c0a63e72761c6080e904e39'/>
<id>urn:sha1:1a83bea1075cf8068c0a63e72761c6080e904e39</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add more diagnostic items for clippy</title>
<updated>2023-10-05T22:21:47+00:00</updated>
<author>
<name>Jason Newcomb</name>
<email>jsnewcomb@pm.me</email>
</author>
<published>2023-09-27T03:56:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d464b72970faf5769c6c02d52f21f8e26eb1727d'/>
<id>urn:sha1:d464b72970faf5769c6c02d52f21f8e26eb1727d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>enable `rust_2018_idioms` for doctests</title>
<updated>2023-05-06T21:12:29+00:00</updated>
<author>
<name>ozkanonur</name>
<email>work@onurozkan.dev</email>
</author>
<published>2023-05-06T21:12:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4e7c14fe9f03dd0189f954bd9cb97c3c513e7eed'/>
<id>urn:sha1:4e7c14fe9f03dd0189f954bd9cb97c3c513e7eed</id>
<content type='text'>
Signed-off-by: ozkanonur &lt;work@onurozkan.dev&gt;
</content>
</entry>
<entry>
<title>Remove ~const from alloc</title>
<updated>2023-03-28T17:37:16+00:00</updated>
<author>
<name>Jubilee Young</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2023-03-28T10:25:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e34ad763639eda0e6174fc89ee31d808ec0d1536'/>
<id>urn:sha1:e34ad763639eda0e6174fc89ee31d808ec0d1536</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove redundant lifetime bound from `impl Borrow for Cow`</title>
<updated>2022-07-21T23:35:39+00:00</updated>
<author>
<name>Frank Steffahn</name>
<email>frank.steffahn@stu.uni-kiel.de</email>
</author>
<published>2022-07-21T23:35:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c03d10c3264b5518de8d2296e403aa50447622f0'/>
<id>urn:sha1:c03d10c3264b5518de8d2296e403aa50447622f0</id>
<content type='text'>
The lifetime bound `B::Owned: 'a` is redundant and doesn't make a difference,
because `Cow&lt;'a, B&gt;` comes with an implicit `B: 'a`, and associated types
will outlive lifetimes outlived by the `Self` type (and all the trait's
generic parameters, of which there are none in this case), so the implicit `B: 'a`
implies `B::Owned: 'a` anyway.

The explicit lifetime bound here does however end up in documentation,
and that's confusing in my opinion, so let's remove it ^^
</content>
</entry>
<entry>
<title>Intra-doc-link-ify reference to Clone::clone_from</title>
<updated>2022-07-08T20:47:07+00:00</updated>
<author>
<name>est31</name>
<email>MTest31@outlook.com</email>
</author>
<published>2022-07-08T20:41:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bdf1d22515ba3a657e2a608e84ded6e5f0c76d1a'/>
<id>urn:sha1:bdf1d22515ba3a657e2a608e84ded6e5f0c76d1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stabilize `toowned_clone_into`</title>
<updated>2022-05-27T16:07:45+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>jtitor@2k36.org</email>
</author>
<published>2022-05-27T16:07:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=846f134cd3eec85cc5751f971d828c86ee64e19f'/>
<id>urn:sha1:846f134cd3eec85cc5751f971d828c86ee64e19f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #94022 - jongiddy:cow-into-owned-docs, r=Dylan-DPC</title>
<updated>2022-04-26T11:22:26+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2022-04-26T11:22:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eaf8beb3f32b089b426a435794214ee0eaed8fec'/>
<id>urn:sha1:eaf8beb3f32b089b426a435794214ee0eaed8fec</id>
<content type='text'>
Clarify that `Cow::into_owned` returns owned data

Two sections of the `Cow::into_owned` docs imply that `into_owned` returns a `Cow`. Clarify that it returns the underlying owned object, either cloned or extracted from the `Cow`.
</content>
</entry>
</feed>
