1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-04 20:37:56 +00:00

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

View File

@ -100,7 +100,7 @@ impl<'a> Module<'a> {
}
/// 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;
}