pub fn docs_fn_args(&mut self, args: &[TypedArg]) -> Document {
        let mut printer = typ::pretty::Printer::new();
        wrap_args(args.iter().map(|arg| {
            arg.names
                .to_doc()
                .append(": ".to_doc().append(printer.print(&arg.typ)))
                .group()
        }))
    }
// Like fn_args but will always print the types, even if they were implicit in the original source
Like fn_args but will always print the types, even if they were implicit in the original source
Like fn_args but will always print the types even if they were implicit in the original source
pub fn docs_fn_args(&mut self, args: &[TypedArg]) -> Document {
        let mut printer = typ::pretty::Printer::new();
        wrap_args(args.iter().map(|arg| {
            arg.names
                .to_doc()
                .append(": ".to_doc().append(printer.print(&arg.typ)))
                .group()
        }))
    }
pub fn docs_fn_args ( & mut self , args : & [ TypedArg ] ) -> Document { let mut printer = typ :: pretty :: Printer :: new ( ) ; wrap_args ( args . iter ( ) . map ( | arg | { arg . names . to_doc ( ) . append ( " " . to_doc ( ) . append ( printer . print ( & arg . typ ) ) ) . group ( ) } ) ) }
Like fn_args but will always print the types, even if they were implicit in the original source
Like fn_args but will always print the types even if they were implicit in the original source
&mut self
args
&[TypedArg]
&mut self
args
&[TypedArg]