Remove some unnecessary pub
s.
This commit is contained in:
parent
89f6917a49
commit
57d56891d2
1 changed files with 3 additions and 3 deletions
|
@ -1576,7 +1576,7 @@ impl<'a> TraitDef<'a> {
|
||||||
|
|
||||||
// helpful premade recipes
|
// helpful premade recipes
|
||||||
|
|
||||||
pub fn cs_fold_fields<'a, F>(
|
fn cs_fold_fields<'a, F>(
|
||||||
use_foldl: bool,
|
use_foldl: bool,
|
||||||
mut f: F,
|
mut f: F,
|
||||||
base: P<Expr>,
|
base: P<Expr>,
|
||||||
|
@ -1598,7 +1598,7 @@ where
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn cs_fold_enumnonmatch(
|
fn cs_fold_enumnonmatch(
|
||||||
mut enum_nonmatch_f: EnumNonMatchCollapsedFunc<'_>,
|
mut enum_nonmatch_f: EnumNonMatchCollapsedFunc<'_>,
|
||||||
cx: &mut ExtCtxt<'_>,
|
cx: &mut ExtCtxt<'_>,
|
||||||
trait_span: Span,
|
trait_span: Span,
|
||||||
|
@ -1610,7 +1610,7 @@ pub fn cs_fold_enumnonmatch(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn cs_fold_static(cx: &mut ExtCtxt<'_>, trait_span: Span) -> P<Expr> {
|
fn cs_fold_static(cx: &mut ExtCtxt<'_>, trait_span: Span) -> P<Expr> {
|
||||||
cx.span_bug(trait_span, "static function in `derive`")
|
cx.span_bug(trait_span, "static function in `derive`")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue