Skip to content

Commit e1956d9

Browse files
authored
fix errors in comments (#15822)
* Update libsolc.cpp * Update ControlFlowBuilder.h * Update ABI.h
1 parent ddc9f0d commit e1956d9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

libsolc/libsolc.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ std::string takeOverAllocation(char const* _data)
6363
abort();
6464
}
6565

66-
/// Resizes a std::std::string to the proper length based on the occurrence of a zero terminator.
66+
/// Resizes a std::string to the proper length based on the occurrence of a zero terminator.
6767
void truncateCString(std::string& _data)
6868
{
6969
size_t pos = _data.find('\0');

libsolidity/analysis/ControlFlowBuilder.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class ControlFlowBuilder: private ASTConstVisitor, private yul::ASTWalker
137137
}
138138

139139
/// Merges the control flow of @a _nodes to @a _endNode.
140-
/// If @a _endNode is nullptr, a new node is creates and used as end node.
140+
/// If @a _endNode is nullptr, a new node is created and used as end node.
141141
/// Sets the merge destination as current node.
142142
/// Note: @a _endNode may be one of the nodes in @a _nodes.
143143
template<typename C>

libsolidity/interface/ABI.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class ABI
3737
public:
3838
/// Get the ABI Interface of the contract
3939
/// @param _contractDef The contract definition
40-
/// @return A JSONrepresentation of the contract's ABI Interface
40+
/// @return A JSON representation of the contract's ABI Interface
4141
static Json generate(ContractDefinition const& _contractDef);
4242
private:
4343
/// @returns a json value suitable for a list of types in function input or output

0 commit comments

Comments
 (0)