schell / mogwai-realworld

RealWorld mogwai impl
6 stars 1 forks source link

error in fn bind(&self, sub: &Subscriber<AppModel> #1

Open direstrepo24 opened 3 years ago

direstrepo24 commented 3 years ago

method bind has 2 parameters but the declaration in trait bind has 3 in: fn bind(&self, sub: &Subscriber) { // bind the nav's output view messages to our input model messages sub.subscribe_filter_map(&self.nav.recv, |msg| msg.route().map(|r| AppModel::HashChange { route: r.clone() })); }

schell commented 3 years ago

Good catch, thank you! I'm currently quarantined for my family's immigration to New Zealand so I won't be able to get to this for a little while.