# Remove the last element using pop, reduce capacity

* pop
* len
* capacity
* shrink_to_fit

{% embed include file="src/examples/vectors/vector-pop/src/main.rs" %}
{% embed include file="src/examples/vectors/vector-pop/out.out" %}


