Remove more unreachable pubs

This commit is contained in:
Aleksey Kladov
2020-11-02 16:31:38 +01:00
parent 731b38fa3c
commit ba8d6d1e4e
39 changed files with 114 additions and 121 deletions

View File

@@ -94,7 +94,7 @@ enum BindingMode {
}
impl BindingMode {
pub fn convert(annotation: BindingAnnotation) -> BindingMode {
fn convert(annotation: BindingAnnotation) -> BindingMode {
match annotation {
BindingAnnotation::Unannotated | BindingAnnotation::Mutable => BindingMode::Move,
BindingAnnotation::Ref => BindingMode::Ref(Mutability::Shared),