Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for stripCommonPrefix (0.43 sec)

  1. src/go/printer/printer.go

    }
    
    // stripCommonPrefix removes a common prefix from /*-style comment lines (unless no
    // comment line is indented, all but the first line have some form of space prefix).
    // The prefix is computed using heuristics such that is likely that the comment
    // contents are nicely laid out after re-printing each line using the printer's
    // current indentation.
    func stripCommonPrefix(lines []string) {
    	if len(lines) <= 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
Back to top