Skip to content

Conversation

s1050613
Copy link
Contributor

@s1050613 s1050613 commented Oct 31, 2023

What This PR Changes

  • This PR removes the start of a line of an example code which implies that the String replace() function returns another String, whilst it returns void. When attempting to compile the code, an error is produced: Compilation error: conversion from 'void' to non-scalar type 'String' requested
  • Now, it correctly indicates that replace() returns nothing

Contribution Guidelines

Replaced assignment which implied replace() returned a String
@CLAassistant
Copy link

CLAassistant commented Oct 31, 2023

CLA assistant check
All committers have signed the CLA.

@jhansson-ard jhansson-ard added fix/update A small fix or update community Bugs and fixes suggested by the community labels Nov 3, 2023
@karlsoderby karlsoderby merged commit f7820c8 into arduino:main Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Bugs and fixes suggested by the community fix/update A small fix or update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants