This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 18157f4
committed
Auto merge of rust-lang#122313 - erikdesjardins:cloned, r=<try>
Add #[inline] to Option::copied/cloned
In rust-lang#121665 (comment), I noticed that `Option::cloned` stopped being inlined in some backtrace code. Let's see if this helps.
r? `@ghost`1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1857 | 1857 | | |
1858 | 1858 | | |
1859 | 1859 | | |
| 1860 | + | |
1860 | 1861 | | |
1861 | 1862 | | |
1862 | 1863 | | |
| |||
1884 | 1885 | | |
1885 | 1886 | | |
1886 | 1887 | | |
| 1888 | + | |
1887 | 1889 | | |
1888 | 1890 | | |
1889 | 1891 | | |
| |||
1910 | 1912 | | |
1911 | 1913 | | |
1912 | 1914 | | |
| 1915 | + | |
1913 | 1916 | | |
1914 | 1917 | | |
1915 | 1918 | | |
| |||
1935 | 1938 | | |
1936 | 1939 | | |
1937 | 1940 | | |
| 1941 | + | |
1938 | 1942 | | |
1939 | 1943 | | |
1940 | 1944 | | |
| |||
0 commit comments