We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f73a6c commit 836e91cCopy full SHA for 836e91c
src/cargo/util/interning.rs
@@ -11,7 +11,7 @@ use std::ptr;
11
use std::str;
12
use std::sync::Mutex;
13
14
-pub fn leak(s: String) -> &'static str {
+fn leak(s: String) -> &'static str {
15
Box::leak(s.into_boxed_str())
16
}
17
0 commit comments