These are chat archives for rust-lang/rust

16th
Feb 2017
mhsjlw
@mhsjlw
Feb 16 2017 00:11
@pthariensflame hmm, now I'm getting errors for CombinedNoise::new((OctaveNoise::new(8), OctaveNoise::new(8)));
cannot infer type for _
Alexander Ronald Altman
@pthariensflame
Feb 16 2017 00:20
I'll take a look once I'm back at my laptop in about an hour.
mhsjlw
@mhsjlw
Feb 16 2017 00:21
Yeah, no worries.
I'm thinking I'll just initiate the struct by myself instead of using the new function
since I can't figure out how to tell it the type
Alexander Ronald Altman
@pthariensflame
Feb 16 2017 00:23
Try CombinedNoise::new::<OctaveNoise>, maybe?
mhsjlw
@mhsjlw
Feb 16 2017 02:33
fixed it. thanks