File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -510,7 +510,7 @@ fn rustup_uninstall_reg_key() -> Result<RegKey> {
510
510
pub ( crate ) fn do_update_programs_display_version ( version : & str ) -> Result < ( ) > {
511
511
rustup_uninstall_reg_key ( ) ?
512
512
. set_value ( "DisplayVersion" , & version)
513
- . context ( "Failed to set display version " )
513
+ . context ( "Failed to set `DisplayVersion` " )
514
514
}
515
515
516
516
pub ( crate ) fn do_add_to_programs ( ) -> Result < ( ) > {
@@ -542,9 +542,9 @@ pub(crate) fn do_add_to_programs() -> Result<()> {
542
542
} ;
543
543
544
544
key. set_raw_value ( "UninstallString" , & reg_value)
545
- . context ( "Failed to set uninstall string " ) ?;
545
+ . context ( "Failed to set `UninstallString` " ) ?;
546
546
key. set_value ( "DisplayName" , & "Rustup: the Rust toolchain installer" )
547
- . context ( "Failed to set display name " ) ?;
547
+ . context ( "Failed to set `DisplayName` " ) ?;
548
548
do_update_programs_display_version ( env ! ( "CARGO_PKG_VERSION" ) ) ?;
549
549
550
550
Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments