Skip to content

Commit 5aafce7

Browse files
committedJan 8, 2018
Review: Rename with_annotation() to annotation()
1 parent 2d8d4b0 commit 5aafce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ impl Field {
11111111
}
11121112

11131113
/// Set field's annotation.
1114-
pub fn with_annotation(&mut self, annotation: &str) -> &mut Self {
1114+
pub fn annotation(&mut self, annotation: &str) -> &mut Self {
11151115
self.annotation = annotation.into();
11161116
self
11171117
}

0 commit comments

Comments
 (0)
Please sign in to comment.