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 72c24e2 commit 8978643Copy full SHA for 8978643
src/libsyntax/abi.rs
@@ -274,13 +274,11 @@ impl ToStr for Abi {
274
275
impl ToStr for AbiSet {
276
fn to_str(&self) -> ~str {
277
- unsafe { // so we can push to strs.
278
- let mut strs = ~[];
279
- for self.each |abi| {
280
- strs.push(abi.data().name);
281
- }
282
- fmt!("\"%s\"", str::connect_slices(strs, " "))
+ let mut strs = ~[];
+ for self.each |abi| {
+ strs.push(abi.data().name);
283
}
+ fmt!("\"%s\"", str::connect_slices(strs, " "))
284
285
286
0 commit comments