blob: b6cf213845d45348e7e10357470e38637f975123 [file] [view]
---
title: SwappedMakeArgs
layout: article
---
<!-- Copyright 2023 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file. -->
<!-- Code generated by generrordocs.go; DO NOT EDIT. -->
```
SwappedMakeArgs occurs when make is called with three arguments, and its
length argument is larger than its capacity argument.
Example:
var x = make([]int, 3, 2)
```