Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-841

Mark ObjectId::bytes as const

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • bson-2.0.0-beta.2
    • Affects Version/s: None
    • Component/s: None
    • None

      ObjectId::bytes simply returns the wrapped 12 bytes of the ObjectId. We should make this const.

            Assignee:
            patrick.freed@mongodb.com Patrick Freed
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: