Delete the doc lines the panel read as restating their code
This commit is contained in:
@@ -109,8 +109,6 @@ func renderRepeat(s *drawstate.State, t *template, env renderEnv) string {
|
||||
return b.String()
|
||||
}
|
||||
|
||||
// drawItem selects one item. Uniform choices are O(1); weighted choices are an
|
||||
// O(log n) search over precomputed cumulative weights.
|
||||
func drawItem(s *drawstate.State, c *choice) node {
|
||||
if c.cum == nil {
|
||||
return c.items[s.IntN(len(c.items))]
|
||||
|
||||
Reference in New Issue
Block a user