Skip to content

Commit d8c572c

Browse files
lqdshepmaster
authored andcommitted
make 2021 the default edition
1 parent 39b1b26 commit d8c572c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/spec/features/url_parameters_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104

105105
scenario "loading without code or an edition" do
106106
visit '/'
107-
expect(page).to have_edition('2018')
107+
expect(page).to have_edition('2021')
108108
end
109109

110110
def editor

ui/frontend/reducers/configuration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const DEFAULT: State = {
4242
primaryAction: PrimaryActionAuto.Auto,
4343
channel: Channel.Stable,
4444
mode: Mode.Debug,
45-
edition: Edition.Rust2018,
45+
edition: Edition.Rust2021,
4646
backtrace: Backtrace.Disabled,
4747
};
4848

ui/frontend/selectors/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const getChannelLabel = (state: State) => {
122122

123123
export const isEditionDefault = createSelector(
124124
editionSelector,
125-
edition => edition == Edition.Rust2018,
125+
edition => edition == Edition.Rust2021,
126126
);
127127

128128
export const getBacktraceSet = (state: State) => (

0 commit comments

Comments
 (0)