Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
f088e54
Delay evaluating lint primary message until after it would be suppressed
compiler-errors Oct 2, 2022
0188273
fix #102320, suggest unwrap_or_else when a closure is passed to unwra…
chenyukang Sep 28, 2022
177b3d2
Add some more operator cases to `dump-debug-span-debug.rs`.
nnethercote Oct 3, 2022
d33e113
rustdoc: remove font family CSS on `.rustdoc-toggle summary::before`
notriddle Oct 3, 2022
8dcecdb
Change the parameter name of From::from to `value`
Oct 3, 2022
8a103f5
Ignore fuchsia on two compiler tests
andrewpollack Oct 3, 2022
4ae58d6
Migrate search results theme style to CSS variables
GuillaumeGomez Oct 1, 2022
b8a63a6
Extend GUI test to check hover and focus on search results
GuillaumeGomez Oct 1, 2022
88dab8d
Improve spans when splitting multi-char operator tokens for proc macros.
nnethercote Oct 3, 2022
a2126e7
Rollup merge of #102441 - chenyukang:fix-102320-unwrap_or_else, r=com…
matthiaskrgr Oct 4, 2022
f333436
Rollup merge of #102547 - GuillaumeGomez:migrate-css-theme-search-res…
matthiaskrgr Oct 4, 2022
8a0fda2
Rollup merge of #102567 - compiler-errors:issue-102561, r=davidtwco
matthiaskrgr Oct 4, 2022
cdb114e
Rollup merge of #102624 - notriddle:notriddle/summary-before, r=Guill…
matthiaskrgr Oct 4, 2022
17c6582
Rollup merge of #102628 - H4x5:master, r=scottmcm
matthiaskrgr Oct 4, 2022
f86ee78
Rollup merge of #102637 - andrewpollack:ignore-fuchsia-two-tests, r=t…
matthiaskrgr Oct 4, 2022
185ca0f
Rollup merge of #102639 - nnethercote:improve-spans-splitting, r=Aaro…
matthiaskrgr Oct 4, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change the parameter name of From::from to value
  • Loading branch information
H4x5 authored Oct 3, 2022
commit 8dcecdb4876e6f4ddc9ea392c0191874676f80de
2 changes: 1 addition & 1 deletion library/core/src/convert/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ pub trait From<T>: Sized {
#[lang = "from"]
#[must_use]
#[stable(feature = "rust1", since = "1.0.0")]
fn from(_: T) -> Self;
fn from(value: T) -> Self;
}

/// An attempted conversion that consumes `self`, which may or may not be
Expand Down