Skip to content

Commit 78f5e4a

Browse files
committed
chore: removing useless comment
Codegen comment not really needed
1 parent 621f0e8 commit 78f5e4a

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

examples/basic/src/convex_types.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ pub struct GetGameArgs {
1717
}
1818

1919
impl GetGameArgs {
20-
/// Returns the fully qualified function path for use with Convex client
2120
pub const FUNCTION_PATH: &'static str = "games:getGame";
2221
}
2322

@@ -32,7 +31,6 @@ pub struct WinGameArgs {
3231
}
3332

3433
impl WinGameArgs {
35-
/// Returns the fully qualified function path for use with Convex client
3634
pub const FUNCTION_PATH: &'static str = "games:winGame";
3735
}
3836

@@ -47,7 +45,6 @@ pub struct LossGameArgs {
4745
}
4846

4947
impl LossGameArgs {
50-
/// Returns the fully qualified function path for use with Convex client
5148
pub const FUNCTION_PATH: &'static str = "games:lossGame";
5249
}
5350

src/codegen.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ fn generate_function_code(function: ConvexFunction) -> String
238238

239239
// Add implementation block with static FUNCTION_PATH method
240240
code.push_str(&format!("impl {} {{\n", struct_name));
241-
code.push_str(" /// Returns the fully qualified function path for use with Convex client\n");
242241
code.push_str(" pub const FUNCTION_PATH: &'static str = ");
243242
code.push_str(&format!("\"{}:{}\";\n", function.file_name, function.name));
244243
code.push_str("}\n\n");

0 commit comments

Comments
 (0)