Skip to content

Commit

Permalink
Fix link to shrinkToFit()'s documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Jan 16, 2024
1 parent 1b143d3 commit 844a502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ArduinoJson/Document/JsonDocument.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class JsonDocument : public detail::VariantOperators<const JsonDocument&> {
}

// Reduces the capacity of the memory pool to match the current usage.
// https://arduinojson.org/v7/api/JsonDocument/shrinktofit/
// https://arduinojson.org/v7/api/jsondocument/shrinktofit/
void shrinkToFit() {
resources_.shrinkToFit();
}
Expand Down

0 comments on commit 844a502

Please sign in to comment.