You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, CassStatement::bind_multiple_values_by_name accepts a slice of usizes. The caller creates a vector from an iterator, and passes the reference to this vector. The allocation could be omitted there, by passing an iterator directly to bind_multiple_values_by_name. The issue is, however, that the aforementioned iterator borrows from &self, and bind_multiple_values_by_name accepts &mut self.
The text was updated successfully, but these errors were encountered:
Currently,
CassStatement::bind_multiple_values_by_name
accepts a slice ofusize
s. The caller creates a vector from an iterator, and passes the reference to this vector. The allocation could be omitted there, by passing an iterator directly tobind_multiple_values_by_name
. The issue is, however, that the aforementioned iterator borrows from&self
, andbind_multiple_values_by_name
accepts&mut self
.The text was updated successfully, but these errors were encountered: