rustfmt_nightly::types

Function rewrite_path

Source
pub(crate) fn rewrite_path(
    context: &RewriteContext<'_>,
    path_context: PathContext,
    qself: &Option<P<QSelf>>,
    path: &Path,
    shape: Shape,
) -> Result<String, RewriteError>