Skip to content

Commit 4d3d7a0

Browse files
jmoseleyCopilot
andcommitted
Apply nightly rustfmt to canvas.rs and types.rs
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 2c8a0d5 commit 4d3d7a0

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

rust/src/canvas.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,9 +451,10 @@ pub async fn dispatch_canvas_invoke(
451451

452452
#[cfg(test)]
453453
mod tests {
454-
use super::*;
455454
use serde_json::json;
456455

456+
use super::*;
457+
457458
#[test]
458459
fn declaration_serializes_camel_case_and_skips_none() {
459460
let decl = CanvasDeclaration {

rust/src/types.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3383,11 +3383,11 @@ mod tests {
33833383

33843384
use super::{
33853385
Attachment, AttachmentLineRange, AttachmentSelectionPosition, AttachmentSelectionRange,
3386-
ConnectionState, CustomAgentConfig, DeliveryMode,
3387-
GitHubReferenceType, InfiniteSessionConfig, PermissionRequestData,
3388-
ProviderConfig, ResumeSessionConfig, SessionConfig, SessionEvent, SessionId,
3389-
SystemMessageConfig, Tool, ToolBinaryResult, ToolInvocation, ToolResult,
3390-
ToolResultExpanded, ToolResultResponse, ensure_attachment_display_names,
3386+
ConnectionState, CustomAgentConfig, DeliveryMode, GitHubReferenceType,
3387+
InfiniteSessionConfig, PermissionRequestData, ProviderConfig, ResumeSessionConfig,
3388+
SessionConfig, SessionEvent, SessionId, SystemMessageConfig, Tool, ToolBinaryResult,
3389+
ToolInvocation, ToolResult, ToolResultExpanded, ToolResultResponse,
3390+
ensure_attachment_display_names,
33913391
};
33923392
use crate::generated::session_events::TypedSessionEvent;
33933393

0 commit comments

Comments
 (0)