From a0dbdcc3abbd3e6307c6e68d0e60f8c0fa31d576 Mon Sep 17 00:00:00 2001 From: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Date: Mon, 6 May 2024 16:20:20 +0200 Subject: Replace `find` with `contains/has` where applicable * Replaces `find(...) != -1` with `contains` for `String` * Replaces `find(...) == -1` with `!contains` for `String` * Replaces `find(...) != -1` with `has` for containers * Replaces `find(...) == -1` with `!has` for containers --- editor/doc_tools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/doc_tools.cpp') diff --git a/editor/doc_tools.cpp b/editor/doc_tools.cpp index 7fce3c45f8..b58e82b7e7 100644 --- a/editor/doc_tools.cpp +++ b/editor/doc_tools.cpp @@ -1638,7 +1638,7 @@ Error DocTools::save_classes(const String &p_default_path, const HashMap