Skip to content

Commit

Permalink
Remove deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
stepancheg committed Jan 20, 2019
1 parent c898f89 commit aa54d71
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions protobuf/src/descriptorx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -510,12 +510,6 @@ impl<'a> FieldWithContext<'a> {
self.field.get_name()
}

// field name in generated code
#[deprecated]
pub fn rust_name(&self) -> String {
self.field.rust_name()
}

// From field to file root
pub fn containing_messages(&self) -> Vec<&'a DescriptorProto> {
let mut r = Vec::new();
Expand Down

0 comments on commit aa54d71

Please sign in to comment.