fix: Fix typo (#1054)

This commit is contained in:
Zhenhui Xie 2020-04-07 17:58:10 +08:00 committed by GitHub
parent 2f449af680
commit b905743364
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ impl<'a> Module<'a> {
} }
/// Set segments in module /// Set segments in module
pub fn set_segment(&mut self, segments: Vec<Segment>) { pub fn set_segments(&mut self, segments: Vec<Segment>) {
self.segments = segments; self.segments = segments;
} }