File tree 4 files changed +12
-12
lines changed
4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -253,9 +253,9 @@ macro_rules! repeat {
253
253
} ;
254
254
}
255
255
256
- const SHORT : & ' static str = "Alice's" ;
257
- const MEDIUM : & ' static str = "Alice's Adventures in Wonderland" ;
258
- const LONG : & ' static str = repeat ! (
256
+ const SHORT : & str = "Alice's" ;
257
+ const MEDIUM : & str = "Alice's Adventures in Wonderland" ;
258
+ const LONG : & str = repeat ! (
259
259
r#"
260
260
La Guida di Bragia, a Ballad Opera for the Marionette Theatre (around 1850)
261
261
Alice's Adventures in Wonderland (1865)
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ fn bind_udp_socket_bad() {
68
68
// returns its own address, it is still an error to bind a UDP socket to
69
69
// a non-local address, and so we still get an error here in that case.
70
70
71
- const INPUT_23076 : & ' static str = "1200::AB00:1234::2552:7777:1313:34300" ;
71
+ const INPUT_23076 : & str = "1200::AB00:1234::2552:7777:1313:34300" ;
72
72
73
73
assert ! ( crate :: net:: UdpSocket :: bind( INPUT_23076 ) . is_err( ) )
74
74
}
Original file line number Diff line number Diff line change 1
1
pub mod os {
2
- pub const FAMILY : & ' static str = "" ;
3
- pub const OS : & ' static str = "" ;
4
- pub const DLL_PREFIX : & ' static str = "" ;
5
- pub const DLL_SUFFIX : & ' static str = ".sgxs" ;
6
- pub const DLL_EXTENSION : & ' static str = "sgxs" ;
7
- pub const EXE_SUFFIX : & ' static str = ".sgxs" ;
8
- pub const EXE_EXTENSION : & ' static str = "sgxs" ;
2
+ pub const FAMILY : & str = "" ;
3
+ pub const OS : & str = "" ;
4
+ pub const DLL_PREFIX : & str = "" ;
5
+ pub const DLL_SUFFIX : & str = ".sgxs" ;
6
+ pub const DLL_EXTENSION : & str = "sgxs" ;
7
+ pub const EXE_SUFFIX : & str = ".sgxs" ;
8
+ pub const EXE_EXTENSION : & str = "sgxs" ;
9
9
}
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ pub fn parse_prefix(_: &OsStr) -> Option<Prefix<'_>> {
15
15
None
16
16
}
17
17
18
- pub const MAIN_SEP_STR : & ' static str = "/" ;
18
+ pub const MAIN_SEP_STR : & str = "/" ;
19
19
pub const MAIN_SEP : char = '/' ;
You can’t perform that action at this time.
0 commit comments