@@ -3,36 +3,37 @@ import { Portal } from 'react-portal';
33
44import { Close } from './Icon' ;
55import { useAppDispatch , useAppSelector } from './hooks' ;
6- import { seenRust2024IsDefault } from './reducers/notifications' ;
6+ import { seenRustSurvey2025 } from './reducers/notifications' ;
77import { allowLongRun , wsExecuteKillCurrent } from './reducers/output/execute' ;
88import * as selectors from './selectors' ;
99
1010import * as styles from './Notifications.module.css' ;
1111
12- const EDITION_URL = 'https://doc .rust-lang.org/edition-guide /' ;
12+ const SURVEY_URL = 'https://blog .rust-lang.org/2025/11/17/launching-the-2025-state-of-rust-survey /' ;
1313
1414const Notifications : React . FC = ( ) => {
1515 return (
1616 < Portal >
1717 < div className = { styles . container } >
18- < Rust2024IsDefaultNotification />
18+ < RustSurvey2025Notification />
1919 < ExcessiveExecutionNotification />
2020 </ div >
2121 </ Portal >
2222 ) ;
2323} ;
2424
25- const Rust2024IsDefaultNotification : React . FC = ( ) => {
26- const showIt = useAppSelector ( selectors . showRust2024IsDefaultSelector ) ;
25+ const RustSurvey2025Notification : React . FC = ( ) => {
26+ const showIt = useAppSelector ( selectors . showRustSurvey2025Selector ) ;
2727
2828 const dispatch = useAppDispatch ( ) ;
29- const seenIt = useCallback ( ( ) => dispatch ( seenRust2024IsDefault ( ) ) , [ dispatch ] ) ;
29+ const seenIt = useCallback ( ( ) => dispatch ( seenRustSurvey2025 ( ) ) , [ dispatch ] ) ;
3030
3131 return showIt ? (
3232 < Notification onClose = { seenIt } >
33- As of Rust 1.85, the default edition of Rust is now Rust 2024. Learn more about editions in
34- the < a href = { EDITION_URL } > Edition Guide</ a > . To specify which edition to use, use the advanced
35- compilation options menu.
33+ Please help us take a look at who the Rust community is composed of, how the Rust project is
34+ doing, and how we can improve the Rust programming experience by completing the{ ' ' }
35+ < a href = { SURVEY_URL } > 2025 State of Rust Survey</ a > . Whether or not you use Rust today, we want
36+ to know your opinions.
3637 </ Notification >
3738 ) : null ;
3839} ;
0 commit comments