Skip to content

Commit

Permalink
style: fix code style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gabor-boros committed May 11, 2022
1 parent 5abe8e0 commit 6153155
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rdb_protocol/terms/string.cc
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ class format_term_t : public op_term_t {
minidriver_t r{src_term.bt()};
datum_t field{datum.get_field(datum_string_t{param_name})};
counted_t<const term_t> term = compile_term(
compile_env,r.expr(field).coerce_to("STRING").root_term());
compile_env,
r.expr(field).coerce_to("STRING").root_term());

formatted += term->eval(env)->as_datum().as_str().to_std();
pos += param_end_pos;
Expand Down

0 comments on commit 6153155

Please sign in to comment.